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 59 of 80

  1. Coding questions · Capital One

    Merge CSVs and build revenue pivot with pandas

    This question evaluates proficiency in data manipulation and ETL using pandas, covering robust file I/O, join/merge semantics, null/coalescing behavior, date parsing, aggregation, and pivoting.

  2. Coding questions · Capital One

    Merge four CSVs locally, robustly and efficiently

    This question evaluates skills in scalable data ingestion, robust data cleaning and normalization, memory-efficient joins and aggregations, and handling heterogeneous file encodings and delimiters within SQL/Python workflows; Domain: Data Manipulation (SQL/Python).

  3. Coding questions · Citadel

    Merge K Timestamp-Sorted Price Feeds into a Running Absolute Price

    Merge K price-event feeds, each already sorted by timestamp, into one chronological stream and return the running absolute price after every event, starting from zero. It tests merging sorted sequences efficiently, a deterministic tie-break for equal timestamps by feed index and then in-feed order, negative deltas, empty feeds, and 64-bit accumulation.

  4. Coding questions · Microsoft

    Merge multiple sorted arrays using min-heap

    This question evaluates algorithm design and data structure proficiency, focusing on merging multiple sorted sequences and reasoning about time and space complexity for large numbers of arrays and elements.

  5. Coding questions · Chicago Trading Company

    Merge Nested Dictionaries Iteratively

    This question evaluates a candidate's skill in iterative data structure manipulation and handling of nested dictionary merging semantics, including conflict resolution and value overriding.

  6. Coding questions · Amazon

    Merge overlapping and adjacent ranges

    This question evaluates a candidate's understanding of interval merging and range manipulation, including handling overlapping and adjacent ranges, edge cases like single-point gaps and extreme values, and the ability to analyze time and space complexity.

  7. Coding questions · Aim Intelligent Machine

    Merge Overlapping Closed Intervals into a Sorted Disjoint List

    A coding problem that asks you to merge a list of closed integer intervals, given in any order, so that every group of overlapping intervals becomes one interval, returned sorted by start. It tests careful interval reasoning, correct handling of shared endpoints versus merely adjacent integers, nested and duplicate intervals, and efficiency on inputs of up to 100,000 intervals.

  8. Coding questions · Furtherai

    Merge Overlapping Closed Intervals Into a Sorted Disjoint List

    A coding question that merges an unsorted list of closed integer intervals into disjoint intervals sorted by start. Intervals that overlap or merely touch at an endpoint must be combined, so it tests exact endpoint semantics, transitive merges, and nested or duplicate intervals.

  9. Coding questions · NVIDIA

    Merge Overlapping Time Intervals

    Practice a NVIDIA coding interview problem focused on merge overlapping time intervals. The prompt emphasizes edge cases, clean implementation, and verifiable test behavior without revealing the solution.

  10. Coding questions · OpenAI

    Merge overlapping time intervals efficiently

    This question evaluates a candidate's understanding of interval merging, sorting strategies, edge-case handling (including touching endpoints and zero-length intervals), and attention to time and space complexity when manipulating ranges.

  11. Coding questions · Nextdoor

    Merge overlapping weekly time intervals

    This question evaluates the ability to parse weekday and 24-hour time strings, reason about interval overlap, and apply efficient merging and sorting techniques for time-based intervals.

  12. Coding questions · Capital One

    Merge seven tables into one clean DataFrame

    This question evaluates proficiency with pandas-based data manipulation, including multi-table joins, aggregations, dtype enforcement, denormalization, and verification of row/column integrity within the Data Manipulation (SQL/Python) domain for a Data Scientist role.

  13. Coding questions · Amazon

    Merge Sorted Event Streams Through an Iterator

    Implement a lazy chronological merge iterator with one head per active stream, stable timestamp ties, has-next semantics, exhausted streams, and bounded auxiliary memory.

  14. Coding questions · Meta

    Merge two interval lists into a union

    This question evaluates a candidate's ability to implement interval merging algorithms, reason about edge cases such as touching boundaries, empty inputs, and invalid intervals, and perform time and space complexity analysis.

  15. Coding questions · LinkedIn

    Merge Two N-ary Trees by Matching Node Keys

    Merge two rooted n-ary trees in which every node has an integer key, combining nodes only when their keys match under matching parents. Tests recursive tree traversal, matching children by key, handling roots with different keys, and producing a canonical preorder encoding of the merged tree.

  16. Coding questions · Apple

    Merge Two Strings Using the Longest Edge Overlap

    Compare both suffix-to-prefix concatenation orders, merge the longest edge overlap, and favor the original string order when overlap lengths tie.

  17. Coding questions · PayPal

    Minimize a String Using Allowed Swaps

    This question evaluates understanding of graph connectivity and constrained string reordering, along with proficiency in applying efficient data structures and algorithms for handling large inputs.

  18. Coding questions · LinkedIn

    Minimize adjacent-color assignment cost

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

  19. Coding questions · Citadel

    Minimize changes for k-periodic palindrome

    This question evaluates understanding of string algorithms and combinatorial reasoning, focusing on palindrome properties combined with k-periodicity and the ability to minimize character changes under global constraints.

  20. Coding questions · Amazon

    Minimize cost & recommend movies

    This question evaluates algorithmic problem-solving and data-processing competencies, focusing on numeric optimization for making array elements distinct with minimal cost and on traversal and aggregation over a social graph to rank movies by friend and friends-of-friends frequency.

  21. Coding questions · Amazon

    Minimize Grid Inconvenience by Adding One Delivery Center

    Add at most one delivery center to minimize the maximum Chebyshev distance from ordinary grid cells to their nearest center.

  22. Coding questions · Amazon

    Minimize Points Used Across Multiple Reward Programs

    Minimize the number of indivisible reward points needed to meet or exceed a microdollar target across programs with different values and finite balances, returning failure when coverage is impossible.

  23. Coding questions · MathWorks

    Minimize shortest path by adding weight-1 edges

    This question evaluates proficiency in graph algorithms, shortest-path computation, and algorithmic optimization when augmenting a directed weighted graph with additional unit-weight edges.

  24. Coding questions · Salesforce

    Minimize steps to reduce integer

    This question evaluates algorithm design skills and proficiency with integer operations and decision-making under parity constraints, testing competencies such as bitwise reasoning, greedy and dynamic-programming intuition, and complexity analysis.