cswork / libraryOpen practice workspace

READ. UNDERSTAND. PRACTICE.

Coding questions

Explore algorithm tutorials, coding and system design questions, interview experiences, and computer science study guides.

1,899 resources · Page 57 of 80

  1. Coding questions · Microsoft

    Maximize Equal Array Length After Contiguous Sum Merges

    Find the maximum length of equal arrays obtainable by merging adjacent positive values into their sums, or report that equality is impossible.

  2. Coding questions · Amazon

    Maximize equal values via one subarray shift

    This question evaluates a candidate's understanding of array manipulation, frequency analysis, range-update reasoning, and optimization under a single contiguous subarray operation.

  3. Coding questions · Apple

    Maximize funds with capital-gated projects

    Maximize funds with capital-gated projects evaluates algorithm design, data structures, correctness, complexity, edge cases, and implementation details in a realistic interview setting. A strong answer states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

  4. Coding questions · Hudson

    Maximize Item Counts Under Suffix Budget Queries

    Answer suffix-budget shopping queries by finding the largest affordable item count, allowing nonconsecutive choices and treating each query independently.

  5. Coding questions · Amazon

    Maximize memory capacity with primary-backup servers

    This question evaluates algorithmic reasoning in constrained pairings and resource allocation, focusing on maximizing aggregate memory under pairwise feasibility constraints while managing large input sizes.

  6. Coding questions · MathWorks

    Maximize minimum after K decrements

    This Coding & Algorithms question evaluates algorithmic problem-solving skills in array manipulation and constrained optimization, testing competency in reasoning about value distribution, large numeric bounds, and performance under tight complexity limits.

  7. Coding questions · ZipHQ

    Maximize non-adjacent sum on an N-ary tree

    This question evaluates skills in tree-based dynamic programming, recursive traversal, and per-node state management for selecting non-adjacent nodes in an N-ary tree.

  8. Coding questions · Pinterest

    Maximize Non-Overlapping Task Scheduling Efficiency

    This question evaluates understanding of interval scheduling and resource optimization, focusing on reasoning about time intervals and conflict-free selection of tasks.

  9. Coding questions · Meta

    Maximize number with one digit swap

    Maximize number with one digit swap evaluates algorithm design, data structures, correctness, complexity, edge cases, and implementation details in a realistic interview setting. A strong answer states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

  10. Coding questions · PayPal

    Maximize ones with limited flips

    This question evaluates proficiency with array algorithms, particularly sliding-window and two-pointer reasoning, complexity analysis, and the ability to adapt solutions for streaming data.

  11. Coding questions · MathWorks

    Maximize operations by removing target-sum pairs

    This question evaluates a candidate's ability to design and analyze efficient array algorithms and use appropriate data structures and techniques such as hash maps or sorting with two-pointer strategies, with attention to time and space complexity.

  12. Coding questions · Amazon

    Maximize optional tasks under daily limit

    This question evaluates algorithmic problem-solving in scheduling and combinatorial optimization, assessing understanding of capacity-constrained assignment, greedy or matching strategies, and correctness and complexity reasoning.

  13. Coding questions · Point72

    Maximize outfits with distinct colors

    This question evaluates competency in combinatorial optimization and constrained resource-allocation algorithms, along with analysis of time and space complexity and robustness to skewed input distributions and edge cases.

  14. Coding questions · Adobe

    Maximize pay by flipping k rest days

    This question evaluates algorithm design and optimization skills in string processing and combinatorial decision-making, testing how to maximize weighted sequences of workdays under a limited number of flips.

  15. Coding questions · Microsoft

    Maximize Points by Deleting Values and Their Neighbors

    Maximize the score from removing integer occurrences when each choice also removes neighboring values, with duplicates and a sparse value range.

  16. Coding questions · Amazon

    Maximize points with limited coworker skips

    This question evaluates algorithmic problem-solving and optimization under sequential-turn constraints, testing competency in dynamic programming, combinatorial reasoning, and time/space complexity analysis.

  17. Coding questions · TikTok

    Maximize products bought under budget

    This question evaluates algorithmic problem-solving skills including sorting, prefix-sum accumulation, binary search, greedy selection, careful tie-breaking for lexicographic order, and complexity analysis.

  18. Coding questions · Airbnb

    Maximize profit from non-overlapping jobs

    This question evaluates proficiency in weighted interval scheduling, dynamic programming concepts, and the use of efficient data structures for large-scale scheduling problems, including handling duplicate times, large reward values, and memory constraints.

  19. Coding questions · Squarepoint

    Maximize profit from one or many stock trades

    This question evaluates algorithmic problem-solving skills, particularly efficient array processing and profit-optimization across single-transaction and multiple-transaction variants, along with time and space complexity analysis.

  20. Coding questions · Microsoft

    Maximize profit with bounded sell window

    This question evaluates proficiency in array algorithms, time and space complexity analysis, and techniques for bounded-range optimization and streaming adaptation.

  21. Coding questions · Akuna Capital

    Maximize profitable pairs

    This interview question evaluates algorithm design, data structures, correctness, complexity, edge cases, and implementation details in a realistic interview setting. A strong answer for Maximize profitable pairs states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

  22. Coding questions · Squarepoint

    Maximize revenue from inventory sales

    This question evaluates algorithmic problem-solving and optimization competencies focused on dynamic resource allocation, revenue maximization, and designing efficient solutions that scale with large n, m, and quantities.

  23. Coding questions · Amazon

    Maximize stock profit with constraints

    This interview question evaluates algorithm design, data structures, correctness, complexity, edge cases, and implementation details in a realistic interview setting. A strong answer for Maximize stock profit with constraints states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

  24. Coding questions · Uber

    Maximize stock profit with one or two trades

    This question evaluates algorithmic problem-solving skills in array processing and transaction-constrained optimization, exercising greedy and dynamic programming concepts within the Coding & Algorithms domain.