Sorting Interview Questions
293 interview questions in our bank cover Sorting, most of them Coding Questions. They average 2.8/5 difficulty — medium — and each one was reported by a candidate after a real interview. Companies known to ask about Sorting: Amazon, Google, Snowflake, Meta, Uber, and 15 more.
Practice these on the problems board →Companies that ask about Sorting
Question mix
- Coding Questions290
- System Design for ML2
- Mobile Engineering (Android/iOS)1
Difficulty
- 1/5 — warm-up4
- 2/5 — easy69
- 3/5 — medium196
- 4/5 — hard24
Sorting questions at Amazon
Maximum Sum of Channel Medians
4/5Featured in Amazon technical interviews, this advanced problem challenges you to divide a collection of numerical items into a specified number of non-empty subsets to maximize the accumulated middle values of each group. It tests sophisticated optimization techniques, mathematical rounding logic, and strategic resource allocation. Access to the comprehensive problem breakdown, complexity analysis, and verified model solution requires a paid subscription.
Coding QuestionsAmazonOptimal Bucket Batching to Minimize Padding
4/5This advanced optimization problem, reported during software engineering interviews at Amazon, requires partitioning a collection of item lengths into a fixed number of groups to minimize total padding waste. Within each group, items are padded to match the maximum length present in that specific batch. This task tests your expertise in dynamic programming, sorting strategies, and cost-minimization algorithms under strict constraints. The complete problem statement and detailed algorithmic solution require a subscription to access.
Coding QuestionsAmazonPer-User Minimum Order-Ad Time Difference
3/5Featured in an Amazon technical screening, this problem requires you to analyze two chronologically ordered streams containing user timestamps for purchases and advertisements. For every individual appearing in both datasets, you must calculate the absolute closest time gap between their respective events. This task emphasizes pointer management and efficient merging techniques over sequential data. Unlock the detailed problem context and optimal code solution by subscribing.
Coding QuestionsAmazonSimplified Top-K Largest
2/5This foundational coding problem, frequently encountered in Amazon technical interviews, challenges you to extract the largest elements from an unsorted collection and present them in descending order. The task evaluates your understanding of efficient sorting routines, priority queues, and handling duplicate values within a dataset. It serves as a great warm-up for mastering core data structures. The complete problem specifications and optimal solution require a subscription.
Coding QuestionsAmazonMinimum Gap Between Merged Intervals
3/5Encountered in Amazon coding assessments, this challenge requires processing a collection of numeric segments to combine overlapping ranges and subsequently analyze the spacing between them. The main objective is to identify the shortest gap separating any two consecutive consolidated segments after sorting. This task tests your foundational command of sorting algorithms, array manipulation, and linear scan logic. Gain full access to the comprehensive problem details and verified solution by subscribing.
Coding QuestionsAmazonSort and Run Tests
3/5Order a collection of test descriptors by a field chosen at runtime, then execute them all at once while making sure one failure does not sink the batch. This Amazon question mixes reflection-style field access with concurrency and error handling, and the error handling is what it is really about. You will sort by a dynamic key, run the work in parallel, collect per-test outcomes rather than a single exception, and keep the report deterministic. The full problem and the reference solution require a subscription.
Coding QuestionsAmazonMin and Max Cost of Splitting Into P Segments
4/5Optimizing segmentations within sequential numerical collections is a sophisticated task frequently featured in rigorous technical assessments, such as this reported Amazon interview question. The objective asks candidates to partition a dataset into contiguous sections while evaluating boundary costs to establish extreme possible outcomes. Tackling this challenge requires deep familiarity with dynamic programming and state transition optimization to manage complex constraints efficiently. It tests your ability to reason about overlapping subproblems and optimal substructures under tight performance limits. Reviewing the complete problem statement and model solution requires a subscription.
Coding QuestionsAmazonProcesses Served Per Processor Range
3/5This reported Amazon interview question evaluates your ability to efficiently analyze and aggregate data based on overlapping boundaries. You are tasked with determining how many items fall within specified operational limits for various units and calculating their cumulative values. This exercise tests your proficiency in optimization techniques, interval handling, and data structures to manage large collections effectively. To explore the complete problem statement, optimal algorithmic approaches, and a fully tested model solution, a paid subscription is required.
Coding QuestionsAmazonMaximum Number of Skill-Balanced Teams
3/5This Amazon interview puzzle requires you to maximize the formation of uniform groups from a pool of developers based on individual skill ratings and variance constraints. You will need to design an efficient algorithm that groups elements while respecting strict difference thresholds between the highest and lowest performers in any given squad. The task evaluates your command over sorting techniques, greedy strategies, and interval partitioning. Access the full problem description and clean implementation code with a subscription.
Coding QuestionsAmazonMedian of an Integer Array
1/5This introductory Amazon interview question assesses fundamental statistical calculations by asking you to determine the median value of a given integer array. Candidates must account for both odd and even collection lengths, applying the correct mathematical rules to isolate the middle elements or compute their average. It serves as a great exercise for basic sorting and conditional logic. View the full problem specifications and clean reference implementation by securing a subscription.
Coding QuestionsAmazonSort Error Codes by Ascending Frequency
2/5A coding question on reordering a list of integers by how often each value occurs, with a fixed rule for ties. It tests careful reading of an ordering rule and handling duplicates, negative values and large inputs.
Coding QuestionsAmazonK-Nearest Neighbors Classification
3/5Master the fundamental instance-based learning algorithm frequently discussed in technical evaluations at Amazon. This challenge evaluates your ability to implement a metric-driven predictive model from scratch, requiring you to compute spatial distances, manage multi-class voting mechanisms, and handle tie-breaking rules efficiently without relying on pre-built machine learning libraries. You will need to structure your code to handle arbitrary training sets and query points cleanly. The full problem and model solution require a subscription.
Coding QuestionsAmazonDoes One Package Fit Every Product
2/5Decide whether one container exists that can hold every item in a list, where each item and container is described by three side lengths and items may be turned freely. Reported by an Amazon Robotics intern candidate, this question rewards the observation that sorting both triples reduces six orientations to a single comparison. You will reduce the items to one worst-case envelope, compare it against each container, and avoid the volume shortcut that silently accepts impossible fits. The full problem and the verified solution are available to subscribers.
Coding QuestionsAmazonGroup Students (AS Intern, it may apply to other interns)
3/5Group trainees into classes by skill level so that each class stays within an allowed spread. This Amazon question is a sorting-plus-greedy problem: once the levels are ordered, starting a new class only when the spread would be exceeded is optimal, which is worth proving rather than asserting. You will sort first, open classes lazily, and handle the case where every trainee has the same level. Subscribers get the complete problem and the model solution.
Coding QuestionsAmazonOptimal Interval Difference
3/5Merge a set of overlapping time ranges and then report the tightest gap left between two consecutive merged blocks. This Amazon question is two standard steps chained together, and the chaining is the point: the gaps only make sense once the overlaps are gone. You will sort by start, fuse ranges that touch or overlap, and handle the case where everything merges into one block so no gap exists. Subscribers can read the full problem and the model solution.
Coding QuestionsAmazonMinimum Bulbs That Turn Off
3/5This sophisticated Amazon interview question explores sequence reorganization to control cascading failure conditions among illuminated display elements. The goal is to rearrange items logically to keep the number of automatically deactivated units as low as possible under cumulative threshold rules. Tackling this scenario successfully calls for advanced sorting strategies and an intuitive grasp of monotonic properties in numerical arrays. Access the complete problem specification, detailed complexity proofs, and fully tested model solution by upgrading to a paid subscription.
Coding QuestionsAmazonRemove Anagram Duplicates
2/5In this engaging string manipulation challenge reported from Amazon interviews, you are tasked with processing a collection of words to filter out redundant items that share identical character frequencies with any preceding entry, followed by sorting the remainder. This problem tests your ability to utilize hash maps or canonical representations for detecting structural equivalence among text elements. Candidates will learn how to streamline collection cleaning operations effectively. Unlock the full problem details and complete model code by subscribing today.
Coding QuestionsAmazonAverage Race Standing Per Player
3/5Processing competitive event logs and computing aggregated statistics is a practical data engineering task featured in Amazon technical interviews. Given multiple event timelines, you must rank participants per event based on completion speed, break ties deterministically, and compute reduced fractional averages across their entire history. This challenge evaluates your ability to manage complex data aggregations, sort efficiently, and handle missing participation records. Unlock the full specifications, sample datasets, and optimal code solution with a subscription.
Coding QuestionsAmazonMerge Time Intervals From Multiple Detectors
2/5In this practical interval-processing task reported during Amazon interviews, you are tasked with combining chronological time ranges gathered from multiple concurrent detectors into a clean, unified timeline. The exercise tests your proficiency in sorting and merging overlapping boundaries, including segments that touch precisely at their endpoints. You will need to write a robust routine that outputs a consolidated, non-overlapping sequence of intervals ordered correctly by start time. To view the complete prompt, test suites, and reference implementation, a paid subscription is required.
Coding QuestionsAmazonTop K Visited Domains
3/5This popular Amazon interview problem evaluates your ability to process and aggregate hierarchical string data efficiently. You are tasked with analyzing a collection of hostname logs against a specific target list to compute total frequencies, accounting for subdomain relationships. The challenge tests string manipulation and hash map aggregation techniques to extract and sort the most prominent entries. Access to the complete problem description, optimal algorithmic approach, and verified code solution requires a paid subscription.
Coding QuestionsAmazonLongest Chain with Gaps At Most K
2/5A coding question on arrays of integers: find the longest group of distinct values that can be ordered so that neighbouring values are never more than a given distance apart. Empty input, repeated values and a distance of zero all need care.
Coding QuestionsAmazonMaximum Optional Tasks Scheduled
3/5This Amazon interview question presents a scheduling optimization problem. You are given a set of mandatory tasks and a separate set of optional tasks, to be completed over a period of days. Each day has a fixed time limit, and while a mandatory task must always be done, an optional task can only be added if sufficient time remains. The objective is to determine the maximum number of optional tasks that can be successfully scheduled across all days. This problem tests your ability to approach resource allocation and greedy strategy. The full problem description and a detailed model solution are available with a subscription.
Coding QuestionsAmazonMaximum Product of Three Numbers
2/5This frequently asked Amazon interview question challenges you to find the highest possible product formed by multiplying any three values from a given list of numbers. To succeed, you must think beyond a naive nested loop and efficiently track the largest and smallest values, since negative elements can drastically swing the final outcome. This task evaluates your capability to optimize arithmetic logic and handle edge cases gracefully in linear time. Access to the complete problem breakdown and the optimal model solution requires a subscription.
Coding QuestionsAmazonSuccess Value for Each Query
2/5Solve this data aggregation challenge featured in Amazon coding evaluations. Given a pool of viewer metrics alongside multiple numeric thresholds, the objective is to compute the cumulative sum of top viewer counts for each specified query constraint. This puzzle tests your capability to handle frequency statistics and optimize retrieval performance over dynamic inputs. To view the complete problem statement, constraints, and verified model solution, a paid subscription is required.
Coding QuestionsAmazonFind Conflicting Events
3/5In this onsite interview question for software engineering roles at Amazon, candidates are asked to detect suspicious or conflicting activity logs by identifying pairs of events that share identical user identifiers, occur in different geographical regions, and fall within a tight temporal threshold. The exercise tests efficient grouping techniques, sliding-window scanning, and optimization skills to handle large datasets effectively. Unlock the complete problem details, optimal algorithmic patterns, and the expert solution with a paid subscription.
Coding QuestionsAmazonSquares of Signed Integers in Ascending Order
1/5A coding question about taking a list of signed integers in any order and returning every element's square from smallest to largest. It checks handling of negative values, zero, repeated magnitudes and the empty list, with a follow-up for input that is already sorted.
Coding QuestionsAmazonTop K Pages by Click Count
2/5In this classic data processing challenge reported from Amazon interviews, candidates are tasked with identifying the most frequently accessed resources from a large stream of web traffic logs. The exercise evaluates your proficiency in aggregation, sorting techniques, and custom tie-breaking logic when handling high-volume tracking data. You must design an efficient procedure that accurately ranks items by popularity while managing deterministic ordering. Reviewing the comprehensive problem specifications and the complete reference solution requires a paid subscription.
Coding QuestionsAmazonMaximum Sum of At Most K Subjects
1/5Optimize element selection from a numerical collection to achieve the highest possible cumulative score under a strict cardinality ceiling. Highlighted as an interview question at Amazon, this problem evaluates foundational sorting intuition, greedy strategies, and basic array manipulation. You must determine the best way to pick a subset of items up to a specified limit while handling edge cases smoothly. Gain full access to the complete problem text and polished code solution with a subscription.
Coding QuestionsAmazonMaximum Subset Stability
3/5Featured in recent Amazon technical screenings, this algorithmic puzzle asks you to maximize a specialized robustness metric derived from subsets of computing nodes. You must compute the product of the lowest operational capacity and the cumulative dependability score across valid groupings. The evaluation tests advanced sorting techniques and greedy optimization methods to parse large collections effectively. Read the complete problem statement and review the expert implementation by acquiring a subscription.
Coding QuestionsAmazonMinimize GPU Padding When Batching Documents
3/5A coding question on grouping variable-length documents into a fixed number of GPU batches so that as little padding as possible is wasted. It tests modelling a cost precisely, arguing which groupings need to be considered, and meeting a size bound.
Coding QuestionsAmazonCount Teams With Skill Sum in Range
2/5Evaluating numerical relationships within collections frequently appears in technical screening rounds at major e-commerce enterprises such as Amazon. This algorithmic task challenges developers to efficiently compute the frequency of specific combinations whose aggregated attributes fall inside a designated boundary. Solving it goes beyond naive nested iterations, requiring clever use of sorting or prefix aggregation techniques to optimize performance over large datasets. To examine the optimal strategy, complete code implementation, and detailed complexity analysis, a subscription is required.
Coding QuestionsAmazonOptimal Two-Player Score Difference
2/5This frequently asked Amazon interview question challenges you to build a strategic algorithm where two participants take turns drawing elements from a sequence to maximize their individual outcomes. You will need to apply optimal decision-making logic to determine the final numeric variance between both players. This task evaluates your grasp of recursive planning and game theory principles under constraints. Unlock the complete problem description and expert model solution with a subscription.
Coding QuestionsAmazonClosest Two-Array Pair Sum Not Exceeding Target
3/5In this Amazon coding challenge, you are tasked with finding the optimal combination of elements from two separate collections such that their combined sum approaches a given threshold as closely as possible without crossing it. This problem requires a strategic approach to searching and pairing values efficiently within given constraints. It tests your proficiency in optimization and two-pointer or binary search techniques. Access the complete problem statement and optimal solution code with a subscription.
Coding QuestionsAmazonK Closest Points to the Origin
3/5This classic geometric interview problem, commonly asked at Amazon, requires finding the closest coordinate points to the origin on a two-dimensional plane using Euclidean distance. Candidates must return a subset of the nearest locations sorted appropriately. The exercise tests your competency with sorting algorithms, priority queues, or quickselect partitioning for optimal performance. To read the complete problem details and examine the model solution, subscribe today.
Coding QuestionsAmazonInventory Allocation by Bid Priority
3/5In this online assessment question from Amazon, you must distribute a constrained resource pool among competing purchase requests based on financial priority and deterministic tie-breaking rules. The scenario simulates a fair allocation engine where higher bids take precedence and secondary rounds handle remaining quantities sequentially. This problem examines your ability to simulate complex business logic using custom sorting and priority queues. Reviewing the complete prompt, edge cases, and optimal solution requires an active subscription.
Coding QuestionsAmazonMaximum Total Transfer Rate
3/5This frequently encountered Amazon interview question challenges candidates to maximize the overall bandwidth by pairing up servers to establish a fixed number of communication pathways. It evaluates your ability to apply greedy strategies or sorting techniques to select optimal combinations efficiently under resource constraints. You will need to carefully consider how throughput capacities scale when combining primary and backup nodes. Discovering the complete problem statement and its optimal model solution requires an active subscription.
Coding QuestionsAmazonMaximum System Throughput From Triple Medians
3/5Solve a resource grouping puzzle featured in coding rounds at Amazon, where you partition available host machines into triads to maximize the cumulative sum of their median performance ratings. This task tests your understanding of sorting, greedy strategies, and efficient array grouping. Access the full problem details and an optimal model solution with a paid subscription.
Coding QuestionsAmazonMaximum Non-Overlapping Events
3/5This frequently asked interview question from Amazon challenges candidates to find the optimal schedule of non-conflicting time intervals to maximize the total attendance count. The problem evaluates your ability to efficiently sort and evaluate temporal boundaries using advanced algorithmic techniques. By exploring optimal pacing and interval relationships, you can determine the best selection without breaking timing constraints. To view the complete problem breakdown and the comprehensive model solution, a paid subscription is required.
Coding QuestionsAmazonMaximum Frontend/Backend Pairs
2/5This frequently asked Amazon interview question challenges candidates to efficiently match elements from two distinct collections based on numerical inequality constraints. It tests your ability to apply greedy strategies combined with sorting or heap data structures to maximize the total valid pairings without violating the rules. You will need to optimize your approach to handle large datasets within strict performance limits. The complete problem description, optimal algorithmic strategy, and fully commented model solution require a subscription.
Coding QuestionsAmazonOptimal Foreground/Background App Pairing
3/5Encountered frequently in software engineering interviews at Amazon, this optimization challenge requires you to pair different resource categories within strict hardware limits. The goal is to match distinct items from two distinct collections so their combined memory footprint approaches a target threshold as closely as possible without exceeding it. This tests your ability to design efficient greedy or two-pointer algorithms. The full problem description and detailed model solution require a subscription.
Coding QuestionsAmazonIndex Permutation Maximizing Weighted Sum
3/5This frequently asked Amazon interview question challenges you to find an optimal element reordering that maximizes a weighted dot-product sum. You will need to apply strategic sorting and greedy techniques to determine the ideal positional mapping while managing tie-breakers for lexicographical order. It tests your ability to reason about sequence optimization and efficiently construct permutations under specific cost constraints. Access to the comprehensive problem description, edge-case breakdowns, and optimal code solution requires a paid subscription.
Coding QuestionsAmazonCount Pairs Within Threshold
2/5This frequently asked Amazon interview exercise challenges candidates to efficiently evaluate numerical arrays and determine how many distinct index pairs satisfy a specific difference constraint. The objective is to design an optimized routine that avoids brute-force comparisons and handles large datasets smoothly. You will practice leveraging sorting techniques or two-pointer strategies to achieve optimal time complexity. Access to the comprehensive problem description, optimal algorithmic approach, and clean implementation requires a subscription.
Coding QuestionsAmazonMinimum Capacity for Two-Per-Drive Distribution
3/5This coding interview question from Amazon requires developers to distribute a collection of files or tasks across a fixed number of recipients under strict capacity constraints. Each participant must receive a limited quantity of items while the maximum cumulative workload assigned to any single individual is minimized. The problem tests optimization strategies, binary search on answer spaces, and greedy allocation principles. Unlock the full problem statement and comprehensive solution walkthrough with a subscription.
Coding QuestionsAmazonRelative Ratings by Skill Threshold
3/5Explore this interesting algorithmic problem frequently encountered in Amazon technical rounds, which evaluates your ability to efficiently compute relative metrics based on individual participant attributes. You will determine the maximum cumulative score attainable from a constrained subset of peers whose specific capability falls below a given benchmark. Mastering the optimal data structures and computational approach to solve this efficiently requires a subscription.
Coding QuestionsAmazonMaximize System Memory Capacity
2/5Faced during interviews at Amazon, this algorithmic resource-allocation problem challenges you to pair hardware components to achieve the highest possible aggregate performance. Given a collection of device capacities, you must properly distribute them into primary and secondary roles while satisfying specific hardware inequality constraints. The exercise tests your capability to apply sorting strategies and greedy techniques to maximize system metrics effectively. Access to the full problem details, complexity analysis, and complete model solution requires an active subscription.
Coding QuestionsAmazonMinimum Sum of Paired Absolute Differences
2/5This Amazon interview question challenges you to pair elements from two collections of identical size such that the cumulative absolute difference across all pairs is kept to an absolute minimum. Candidates must determine the optimal sorting strategy to pair compatible values efficiently and achieve the lowest possible sum. This problem tests your analytical thinking and greedy algorithm design proficiency. To access the full problem text and the verified solution, a paid subscription is necessary.
Coding QuestionsAmazonMaximize Entries Served Within a Capacity
2/5This practical coding problem, featured in Amazon interviews, evaluates your greedy algorithmic thinking and resource allocation skills. Given a set of tasks with varying progress levels and completion requirements, you must determine how to maximize the number of fully satisfied entities within a strict resource limit. The task highlights your ability to sort and prioritize workloads efficiently under constraints. Unlock the complete problem description and an optimal model solution with a full subscription.
Coding QuestionsAmazonTasks That Can Be the Final Survivor
4/5This competitive elimination problem, reported during Amazon technical rounds, simulates a series of conflicts where tasks absorb opposing entities based on their resource weights until a single survivor remains. Candidates must identify and return all tasks capable of achieving ultimate survival across any valid sequence of match-ups. Solving this efficiently requires advanced analytical thinking and clever manipulation of array data. Unlock the full problem statement and model solution by subscribing today.
Coding QuestionsAmazonMaximum Reward Points With Decay
3/5This engaging algorithmic problem, frequently encountered in Amazon technical interviews, challenges candidates to maximize accumulated reward points where selecting an item triggers a penalty decay across all remaining unpurchased options. The puzzle tests greedy choice properties, priority management, and optimization strategies under dynamic state changes. The full problem breakdown, complexity analysis, and complete model solution require a paid subscription.
Coding QuestionsAmazonMinimum Removals So Any k Items Fit a Threshold
3/5This Amazon coding challenge focuses on optimizing numerical collections by determining the fewest deletions necessary to ensure that any subset of a specified size stays under a given limit. It tests your proficiency with greedy algorithms and sorting strategies to achieve optimal runtime efficiency. To explore the full problem statement and verified model solution, a subscription is required.
Coding QuestionsAmazonMeeting Rooms — Can Attend All
1/5This frequently asked Amazon interview question evaluates your ability to manage and analyze time periods efficiently. Candidates are challenged to assess a collection of scheduled appointments to see whether an individual can participate in every single one without experiencing any time conflicts. This problem thoroughly tests your foundational understanding of sorting algorithms and interval comparison techniques. Access to the complete problem description and an optimized model solution requires a subscription.
Coding QuestionsAmazonLexicographically Smallest Max-Info Permutation
3/5This advanced algorithmic problem, reported from Amazon hiring loops, challenges engineers to reorder a collection of data elements to maximize a weighted informational metric while simultaneously satisfying strict lexicographical ordering rules. Participants must leverage clever sorting and greedy strategies to construct the optimal sequence efficiently. This question tests deep combinatorial insight and optimization mastery. Unlock the full problem details and expert model solution with a subscription.
Coding QuestionsAmazonSort Strings by Custom Alphabet
2/5This frequently asked Amazon interview question challenges you to organize an array of text identifiers based on a non-standard alphabetical sequence instead of traditional lexicographical ordering. Candidates will need to apply custom mapping techniques to evaluate relative character weights efficiently. This task evaluates your familiarity with comparator logic and data manipulation fundamentals. The complete problem statement and model solution require a subscription.
Coding QuestionsAmazonMinimize Sum of Prefix Ranges by Reordering
4/5This advanced algorithmic puzzle from Amazon challenges candidates to find the optimal arrangement of elements to minimize cumulative prefix variations. The core objective is to strategically order a collection of items to control the growth of differences between maximum and minimum values across prefixes. It tests advanced sorting heuristics and optimization strategies. The comprehensive problem description and verified solution require a subscription to access.
Coding QuestionsAmazonClosest Version Date to a Target
2/5A coding question about choosing the nearest date from a list of release dates for a given day. It covers equal distances on both sides, unordered input and duplicate dates.
Coding QuestionsAmazonPlaylist / Guide Voting System (OOD)
3/5In this object-oriented design challenge reported during Amazon interviews, you are tasked with architecting a robust platform where users can manage collections of curated guides, cast positive or negative votes, and retrieve ranked lists based on scores and timestamps. The problem tests your ability to define clean class boundaries, select appropriate underlying data structures for fast lookups and sorting, and handle extensibility requirements gracefully. Unlock the complete specifications and expert design patterns by subscribing today.
Coding QuestionsAmazonValidate and Order Barcode Configurations
3/5This reported Amazon interview challenge tests your string parsing and data validation abilities by requiring you to process a segmented layout string. You must verify that numerical position markers follow a strict consecutive sequence without missing digits and ensure the accompanying alphanumeric elements meet specific criteria. Successfully passing this hurdle means organizing the verified data into the correct sequence, while failing requires catching anomalies and outputting a standard error message. Access the complete problem description and expert code solution with a subscription.
Coding QuestionsAmazonMaximum Last Element After Rearrange and Reduce
3/5Presented as an Amazon coding interview question, this challenge invites you to reorder and downward-adjust elements in a numeric array to maximize the terminal value while respecting strict incremental difference bounds. The task tests your grasp of greedy strategies, sorting invariants, and boundary condition handling in numerical manipulation. Crafting an efficient approach ensures you can maximize growth trajectories under restrictive constraints. The full problem explanation and optimal code solution are available exclusively to subscribers.
Coding QuestionsAmazonMaximum Health Sum of K Server Types
2/5This Amazon interview question challenges you to assemble a collection of computing units from a diverse pool to achieve the highest possible cumulative performance metric while respecting a strict limit on category variety. You will need to aggregate values efficiently by grouping items according to their classification attributes. This problem is excellent for practicing hash map usage, sorting strategies, and greedy selection paradigms. Explore the comprehensive problem statement and detailed algorithmic solution with a paid subscription.
Coding QuestionsAmazonMaximum Inventory Similarity
3/5Adjust numerical elements within a pair of collections by redistributing values under conservation constraints to maximize the count of identical matching indices. This advanced optimization challenge tests your mastery of greedy strategies, mathematical invariants, and efficient resource allocation algorithms. Documented as a challenging interview problem at Amazon, it assesses your capability to simplify complex algebraic constraints into manageable programmatic logic. Unlocking the complete problem specification, rigorous complexity analysis, and optimal solution requires a paid subscription.
Coding QuestionsAmazonKth Smallest in Each Sliding Window
3/5This popular coding interview question from Amazon requires finding the specific order statistic within every sliding window of a fixed size across an integer array. The problem evaluates your efficiency in maintaining ordered data streams and optimizing sliding window computations to avoid redundant sorting overhead. Candidates must leverage advanced data structures like balanced search trees or heaps to process sequential subarrays rapidly. The full problem and model solution require a subscription.
Coding QuestionsAmazonLongest Prefix Shared by Two Words
2/5String manipulation and pattern matching are fundamental concepts in technical assessments, frequently featured in evaluations like this reported Amazon interview question. The objective is to analyze a collection of textual entries and determine the longest shared starting sequence that appears across at least two distinct items. This exercise is designed to test your efficiency in handling character arrays and optimizing search boundaries. To view the full problem statement and optimized code solution, a subscription is required.
Coding QuestionsAmazonMaximum Concurrent Processes from Intervals
3/5A coding question about finding the peak overlap in a set of time intervals, where the treatment of intervals that touch at a single point must be handled exactly. It tests ordering of events and careful boundary reasoning at scale.
Coding QuestionsAmazonTop K Items in a Time Range
3/5This frequently asked Amazon interview scenario requires processing a continuous stream of customer activity logs to identify the most frequent items within a specified time window. You will need to design an efficient strategy that filters timestamps, aggregates counts accurately, and breaks sorting ties deterministically according to specific guidelines. This problem tests your ability to combine sliding window concepts with priority queues or frequency maps for real-time analytics. Access the full problem description and expert model solution with a subscription.
Coding QuestionsAmazonSelect Max Sum With Per-Row Caps
3/5Tackle an advanced optimization puzzle that requires selecting a precise subset of values from a matrix subject to strict row-specific limitations. This analytical challenge has appeared in coding interviews at Amazon, focusing on your ability to combine combinatorial search strategies with resource constraints. You will explore efficient techniques to maximize outcomes while respecting operational boundaries. Reviewing the full problem statement and expert reference solution requires a subscription.
Coding QuestionsAmazonMaximize Completed Tasks With Extra Time
2/5Optimize workload distribution and resource management in this algorithmic challenge frequently asked by Amazon. You will determine the upper limit of assignments that can be finished by wisely allocating a finite pool of supplementary duration to bridge completion gaps. Access the comprehensive challenge breakdown and the complete tested solution by obtaining a subscription.
Coding QuestionsAmazonPack Items Into a Heavier Minimal Subset
3/5Challenge your algorithmic problem-solving skills with this data partitioning puzzle featured in technical rounds at Amazon. The task requires dividing a collection of weighted items into two distinct groups such that one group achieves the smallest possible element count while maintaining a strictly heavier cumulative weight than the other. Success hinges on clever subset generation and sorting strategies to satisfy the optimization criteria. View the complete problem specification and the optimal coded solution by upgrading to a paid subscription.
Coding QuestionsAmazonCount First-Team Winning Pairs
3/5Sourced from Amazon coding assessments, this problem challenges you to evaluate numerical attributes across two distinct categories to identify winning combinations based on specific algebraic conditions. Candidates must efficiently count valid pairs within large arrays while avoiding costly brute-force iterations, utilizing mathematical rearrangement or sorting strategies. This challenge tests foundational data analysis and optimization skills. The full problem statement and optimal model solution require an active subscription.
Coding QuestionsAmazonMax and Min Median of Size-K Subsequences
3/5Featured in an Amazon technical screening, this problem requires evaluating statistical properties across various subsets of a numerical sequence to find boundary median values. It examines your skills in efficient data manipulation and window-based query optimization to handle combinatorial collections without exhaustive enumeration. The full problem details, test cases, and optimal solution are available exclusively to subscribers.
Coding QuestionsAmazonCount Picked Items Below Query
3/5This frequently asked Amazon interview problem challenges candidates to efficiently process multiple range selections over an array of values and evaluate specific threshold conditions for each query. You will need to design an optimized approach to handle overlapping intervals and value comparisons without resorting to brute force. The complete problem statement, comprehensive test cases, and a thoroughly explained model solution require a subscription.
Coding QuestionsAmazonTop 5 Daily Sales per Category
3/5This data manipulation challenge, reported as a common interview question at Amazon, requires filtering and sorting multi-dimensional sales records to find top performing metrics per category across daily timelines. Candidates must demonstrate proficiency in data aggregation, sorting hierarchies, and efficient grouping logic. To view the complete dataset specifications, constraints, and an optimal code solution, please subscribe.
Coding QuestionsAmazonMaximize Index of First Non-Positive Prefix Sum
3/5In this Amazon coding challenge, you are asked to rearrange a collection of numeric values to manipulate cumulative prefix sums in a specific way. The exercise tests your advanced sorting intuition and greedy strategy design to maximize the index where totals first drop to non-positive values. It pushes you to think critically about array permutations and boundary conditions. Unlock the complete problem breakdown and the optimal code implementation with a paid subscription.
Coding QuestionsAmazonDistinct Averages of High-Low Pairs
2/5In this engaging interview problem reported at Amazon, you are tasked with repeatedly combining extreme values from a dataset and computing their averages until no elements remain. The main objective is to determine how many unique mean values are produced throughout this iterative reduction process. This exercise evaluates your proficiency with sorting techniques, two-pointer methods, and hash-based collections to track distinct outcomes efficiently. Access to the full problem statement, test cases, and a comprehensive code solution requires a paid subscription.
Coding QuestionsAmazonSort Array Elements by Frequency
2/5In this classic Amazon technical screening problem, you are tasked with rearranging a collection of integers so that elements appearing more frequently come first, while tie-breaking is handled by numerical value. This exercise tests your proficiency with hash maps for counting frequencies and custom sorting algorithms to manage complex ordering criteria efficiently. Mastering this pattern helps strengthen your data structure manipulation skills for upcoming assessments. Unlock the full problem description and expert code solution by purchasing a subscription.
Coding QuestionsAmazonMinimize Unmet Warehouse Demand
3/5This algorithmic puzzle, reported from Amazon interviews, challenges you to optimize resource allocation between demands and capacities. Given two collections representing requirements and warehouse sizes, where each capacity can fulfill at most one matching demand, your objective is to minimize the aggregate unmet deficit. The task assesses your proficiency with sorting strategies, greedy algorithms, and efficient matching techniques. Unlock the complete challenge description, constraints, and professional solution by securing a paid subscription.
Coding QuestionsAmazonUpdate All and Retrieve Top K
2/5This Amazon interview question evaluates your data structure design skills by requiring you to maintain a collection of numbers that supports two primary operations. You must implement a method that increments every stored element simultaneously by a fixed amount, alongside another method that efficiently extracts the top largest items in descending order. Crafting an optimal solution demands clever handling of lazy updates to avoid performance bottlenecks during frequent global modifications. Unlock the full problem breakdown and verified model solution with a subscription.
Coding QuestionsAmazonMinimum Time to Eat K Apples
3/5Analyze an engaging movement and optimization puzzle reported at Amazon where a moving entity must gather a designated quantity of dispersed items along a linear path as quickly as possible. Developers need to design an algorithm that calculates the optimal travel timeline to reach the target threshold efficiently. This challenge evaluates spatial reasoning and simulation design skills under tight constraints. Revealing the full problem context and optimized model solution requires an active subscription.
Coding QuestionsAmazonMerged Intervals That Came From Overlaps
3/5This frequently asked Amazon interview question challenges you to process a collection of chronological time spans and isolate only those resulting from genuine overlaps among multiple inputs. Candidates must demonstrate strong algorithmic thinking regarding interval manipulation and sorting techniques. Tackling this problem effectively sharpens your ability to handle complex boundary conditions efficiently. Access to the complete problem description, comprehensive test cases, and optimal model solution requires a paid subscription.
Coding QuestionsAmazonMaximize Positions Filled Within a Budget
2/5This engaging Amazon interview problem asks you to maximize the number of positions brought up to their maximum capacity given a limited financial resource. You will need to evaluate costs dynamically and employ strategic allocation methods to achieve the optimal count. This exercise is fantastic for building intuition around greedy algorithms and resource management. The complete problem statement, constraints, and professional model solution are available exclusively to subscribers.
Coding QuestionsAmazonMinimize the Max Adjacent Gap of a Subsequence
3/5This Amazon interview question challenges you to extract specific subsequences from an array to minimize the largest gap between consecutive sorted elements. The problem tests your expertise in combining sorting strategies, sliding window techniques, and binary search over solution spaces. You will need to efficiently evaluate numerous subsequence configurations to find the optimal boundary. Gain immediate access to the full problem text and optimal code solution through a paid subscription.
Coding QuestionsAmazonMaximum Sum of Non-Overlapping Intervals
4/5Reported as an Amazon interview challenge, this problem tasks you with selecting a non-overlapping subset of scheduled activities, each carrying a specific weight, to achieve the highest aggregate profit. It tests advanced dynamic programming and interval scheduling concepts to handle overlapping timelines efficiently. The complete problem description, complexity analysis, and verified model solution require a subscription.
Coding QuestionsAmazonMaximize Distinct Checksum Values
3/5This Amazon interview question challenges candidates to optimize the selection of secret keys to produce the highest possible count of unique checksum values. Given a set of parameters, the task involves understanding modular arithmetic to strategically assign secret key components. The core problem tests your ability to identify patterns and make choices that maximize diversity within a constrained system. It requires careful consideration of how remainders behave to achieve the desired outcome. The full problem and model solution require a subscription.
Coding QuestionsAmazonMinimum Groups With Max Difference Constraint
2/5Grouping elements efficiently based on numerical variance constraints is a common algorithmic puzzle style encountered during technical evaluations at companies like Amazon. This problem challenges you to partition a collection of numbers into the fewest possible subsets while ensuring that the spread between any two values within a group stays below a specified threshold. It evaluates your proficiency with sorting strategies, greedy approaches, and interval management. Crafting an optimized solution requires careful consideration of time complexity and edge cases. Exploring the detailed problem analysis and verified code implementation requires an active subscription.
Coding QuestionsAmazonMinimum Requests to Bring Servers Down
4/5Solve a sophisticated simulation challenge reported in Amazon interview rounds that combines iterative state reduction with resource management across a network of processing units. You must calculate the minimum cumulative load generated while systematically degrading server capacities using targeted reduction operations until total system failure is achieved. This problem tests your ability to model complex operational constraints and optimize discrete event simulations. Unlock the complete problem details and optimal model solution with a paid subscription.
Coding QuestionsAmazonFewest Boxes to Unload for Bounded Ratio
3/5Trimming a collection of items to satisfy a strict proportion boundary between the heaviest and lightest elements is an intriguing test of data reduction. Highlighted in Amazon interview sessions, this problem challenges you to remove the fewest items possible so the remaining elements conform to capacity limits. A successful approach demands sorting strategies and efficient window evaluation techniques. Reviewing the full challenge statement and professional model solution requires a paid subscription.
Coding QuestionsAmazonMaximize Memory Points by Read Order
3/5In this algorithmic puzzle frequently asked at Amazon, candidates must determine the optimal sequence for reading a collection of chapters to maximize cumulative memory accumulation points. Because the reward for each completed chapter scales based on the total accumulated values of preceding reads, finding the optimal order requires strategic sorting and greedy decision-making. It tests your ability to model mathematical relationships and maximize objective functions efficiently. The complete problem statement and optimal code solution require a paid subscription.
Coding QuestionsAmazonMinimum Total Distance to Two Warehouses
3/5Determining optimal facility locations to minimize travel overhead is a classic optimization challenge frequently asked during Amazon coding evaluations. Given a set of distribution points along a linear route, the goal is to strategically place two service hubs such that the aggregate distance from every point to its closest facility is minimized. This problem tests your mathematical reasoning, range partitioning strategies, and dynamic programming or greedy optimization skills. The full problem statement, detailed constraints, and complete model solution require a paid subscription to access.
Coding QuestionsAmazonDeduplicate Events by Latest Timestamp
2/5Tackling data streams containing redundant information is a common challenge in software engineering interviews, specifically featured in technical assessments at Amazon. This problem evaluates your ability to filter datasets effectively by isolating the most recent entries corresponding to unique identifiers and arranging the final results in a structured order. Success in this exercise requires efficient grouping and sorting techniques to handle large volumes of incoming records. The complete problem statement, optimal algorithms, and verified model solutions require a paid subscription.
Coding QuestionsAmazonCompute Encoded Product Name
3/5A coding question on rearranging the letters of a palindrome into the alphabetically smallest string that is still a palindrome.
Coding QuestionsAmazon
Sorting questions at Google
Active Communication Top Users
3/5This engaging Google interview challenge evaluates your ability to handle continuous data feeds and track dynamic statistics in real time. You will build a system that ingests interaction pairs, maintains frequency tallies, and efficiently surfaces the most active participants based on custom ordering criteria. This problem tests data structure design, state management, and algorithmic optimization under high-frequency updates. To explore the complete problem statement, edge-case handling, and an optimal model solution, unlock full access with a subscription.
Coding QuestionsGoogleStreaming Points: Emit K Within Distance
3/5Reported as a challenging Google interview question, this task involves monitoring a continuous stream of coordinate data and dynamically emitting groups of points that fall within a specific proximity threshold. You must design an efficient tracking mechanism that updates active sets and handles multi-point spatial distance conditions, with a follow-up scaling to arbitrary group sizes. It evaluates advanced data stream management, spatial reasoning, and algorithmic optimization. To explore the full problem description and view the expert solution, a subscription is needed.
Coding QuestionsGoogleHorizontal Cut That Halves the Area of Rectangular Cakes
3/5A coding question about slicing a collection of axis-aligned rectangles with a single straight line so that both sides hold equal total area. The answer must be precise when several lines qualify, and the follow-up asks for a method whose cost does not grow with how spread out the rectangles are.
Coding QuestionsGoogleGet Meeting Intervals (Google Bangalore)
3/5Merge a calendar full of overlapping meetings into the stretches of time you are genuinely busy, after carving out one protected block you never attend meetings during. This Google question is interval merging with a subtraction step, and the subtraction is where it gets interesting: one meeting can be split into two pieces. You will sort and merge first or subtract first, defend the order you chose, and handle meetings swallowed entirely by the protected block. Subscribers get the full problem and the model solution.
Coding QuestionsGoogleRelative Sort (Google Singapore)
3/5Count the fewest position-wise exchanges between two arrays that leave both of them strictly increasing. Asked at Google, this is a dynamic-programming walk along the positions where each step remembers only whether the previous position was swapped. You will test both options against both predecessors, detect the arrangements that cannot be fixed at all, and keep the state to two numbers. Subscribers get the full problem and the model solution.
Coding QuestionsGoogleMerge Overlapping Shifts into an On-Duty Schedule
3/5A coding question about turning a list of overlapping work shifts into one timeline. For every stretch of time you report who is on duty, including stretches where nobody is, and you must decide carefully what happens at the edges of each shift.
Coding QuestionsGoogleDetermine Passing Order and Ranking
2/5A coding question about competitors moving along a straight track at different constant speeds. The candidate reports when each overtaking happens and who is ahead once the race runs forever, with careful handling of ties and of overtakes that happen at the same moment.
Coding QuestionsGoogleDeduplicate Log Messages and Return Them in Timestamp Order
3/5A coding question about removing repeated entries from an event record and returning what remains in time order. It probes careful reading of which copy to keep, deterministic ordering when times collide, and an incremental version where entries show up one by one and must be handed out earliest first.
Coding QuestionsGoogleMaximum Value With a Unit-Weight Capacity
2/5A coding question about choosing items of limited supply to maximise total value when only a fixed number of items fit. Huge counts, a very large cap, non-positive values and exact big-integer totals are the edge cases that matter.
Coding QuestionsGoogleEarliest Time When Everyone Becomes Connected
3/5A coding question about a group of people who become acquainted over time, asking for the first moment at which everyone is linked to everyone else, directly or through mutual acquaintances, or that no such moment exists.
Coding QuestionsGoogleMinimum Racks to Pack Machines (2D Bin Packing)
4/5This algorithmic problem, frequently featured in Google technical screens, challenges you to solve a multidimensional resource allocation puzzle akin to two-dimensional bin packing. You are tasked with determining the minimum number of hardware racks required to host a collection of machines, each consuming specific dual-resource capacities. The challenge evaluates your grasp of combinatorial optimization, greedy heuristics, and efficient search strategies. Access the comprehensive problem breakdown, test cases, and optimal algorithmic solution by obtaining a paid subscription.
Coding QuestionsGoogleFind All People Who Learn a Secret
4/5People pass a secret on whenever they meet someone who already knows it, and several meetings can happen at the same moment. Work out who ends up knowing it after a timeline of pairwise meetings, paying attention to what can happen inside a single timestamp.
Coding QuestionsGoogleMinimum Distance Between People and Cakes
3/5Report the smallest gap between any person and any cake when both sets of positions arrive already sorted. This Google question explicitly asks for a linear solution, which rules out comparing every pair and points at a two-pointer walk that advances whichever side is behind. You will prove that advancing the smaller position cannot skip the best pair, and handle an empty list on either side. The full problem and the reference solution require a subscription.
Coding QuestionsGoogleMeeting Rooms: Minimum Rooms to Hold All Meetings
3/5Reported as a classic Google interview scenario, this problem examines your skill in handling interval scheduling and timeline management. You are tasked with determining the minimum capacity of concurrent spaces needed to accommodate a series of scheduled appointments without any temporal conflicts. Success relies on effectively sorting and tracking active intervals. To view the full problem statement along with the complete model solution, a subscription is required.
Coding QuestionsGoogleConsolidate Overlapping On-Call Rotations
3/5A coding question about turning a list of overlapping time ranges into a schedule that changes only when the set of people covered changes. It tests careful handling of boundaries, duplicates and ordering of the output.
Coding QuestionsGoogleLongest Nesting Chain of Rectangles
4/5A coding question about stacking two-dimensional boxes: given many width and height pairs, find the largest number that can be placed one inside the next. The inputs are large enough that checking every pair of boxes is too slow.
Coding QuestionsGoogle
Sorting questions at Snowflake
Process Logs
2/5Parse a log of money transfers and report the accounts whose activity meets the stated threshold. This Snowflake question is string handling with a careful contract: identifiers are digit strings rather than numbers, a self-transfer counts once rather than twice, and the output order is specified. You will split each record safely, count per account, and sort the result the way the statement demands. A subscription unlocks the full problem and the reference solution.
Coding QuestionsSnowflakeDetermine Employees to Promote
3/5Total each employee's contributions across projects, rank them, and select the top slice indicated by a promotion ratio. This Snowflake question is aggregation followed by sorting, with the ratio turning into a count that has to be rounded one way or the other. You will decide how the ratio maps to a headcount, settle ties in the ranking, and produce both the full ordering and the selected group. The complete problem and the reference solution are available to subscribers.
Coding QuestionsSnowflakeCustom-Sorted Array
3/5Count the fewest arbitrary swaps that move every even value to the front of an array and every odd value to the back. This Snowflake question is simpler than it looks once you see that any swap can fix two misplaced values at once: the answer is just the number of even values sitting in the odd region. You will count the misplacements on one side, avoid simulating the swaps, and handle an array of a single parity. A subscription unlocks the full problem and the model solution.
Coding QuestionsSnowflakeMaximum Profit in Job Scheduling
4/5Reported as a technical challenge at Snowflake, this optimization problem asks you to select a schedule of non-overlapping assignments to achieve maximum financial return. The question evaluates your mastery of dynamic programming combined with efficient searching techniques, such as binary search on sorted intervals. You must carefully weigh overlapping timeframes to determine the most lucrative combination of tasks. Unlock the comprehensive problem description and optimal model solution with a subscription.
Coding QuestionsSnowflakeMax Credits with K Non-Overlapping Classes
4/5Pick timed classes with credit values, at most a fixed number of them and none overlapping, so that the total credit is as large as possible. The task asks you to weigh several choices against a limit on how many you may keep. The full problem and model solution require a subscription.
Coding QuestionsSnowflakeTop-Selling Books Tracker
3/5A coding question about keeping a live ranking of books as batches of sales arrive. It checks exact ordering rules, including how equal totals are ordered, and correct handling of edge cases such as asking for more books than exist.
Coding QuestionsSnowflakeCombine Overlapping Busy Periods
3/5A coding question on calendar data: given busy periods that may overlap or share an end point, produce the equivalent list of separate periods in order. It checks contained periods, touching periods, zero-length periods and leaving the caller's data unchanged.
Coding QuestionsSnowflakeMeeting Rooms II
3/5This classic scheduling puzzle, frequently featured at Snowflake, requires calculating the absolute minimum number of resource slots necessary to accommodate overlapping time intervals without conflict. You will need to analyze start and end boundaries to determine peak concurrency while correctly handling touching schedules. The problem heavily tests interval manipulation and sorting strategies commonly found in system design and greedy algorithms. Get instant access to the full problem description and optimal solution with a subscription.
Coding QuestionsSnowflakeGroup Colored Records Using Only Swaps
3/5A coding question about rearranging a collection of red, green and blue records that can only be read one position at a time and changed by swapping two positions. The learner must group the colors in order while staying within a strict limit on reads and swaps.
Coding QuestionsSnowflakeAttend the Most Events, One per Day
3/5A coding question about choosing which multi-day events to go to when you can attend only one event per day. It asks for the largest possible count, with duplicate events, empty input and very long day ranges handled correctly and efficiently.
Coding QuestionsSnowflake
Sorting questions at Meta
Rank Stories and Filter by Offset
3/5Return a minimum number of top-ranked stories from a source that hands back only a few at a time and may repeat itself. This Meta question is about the loop around an unreliable producer: you call it repeatedly, accumulate what it gives you, and stop once you have enough distinct results. You will deduplicate across calls, apply the offset after ranking rather than before, and avoid an unbounded loop when the source dries up. Subscribers get the complete problem and the model solution.
Coding QuestionsMetaWiggle Sort
3/5Rearrange an array so that its values rise and fall alternately from one position to the next. This Meta question has a tidy linear answer that surprises people who reach for a sort first: a single pass that swaps any neighbouring pair pointing the wrong way is enough, and the fix never breaks the pair before it. You will prove that local swaps suffice, handle arrays with repeated values, and cover the one- and two-element cases. Subscribers can read the complete problem and the model solution.
Coding QuestionsMetaAds Ranking Algorithm
3/5Order a set of adverts by three metrics applied in priority order, returning just the identifiers. This Meta question is a custom-sort exercise, and the thing it checks is whether you express a multi-key comparison as one key tuple rather than as nested comparisons. You will get the descending direction right on every field, decide what breaks a complete tie, and keep the sort stable where the specification leaves a choice. The complete problem and the reference solution are available to subscribers.
Coding QuestionsMetaGroup Anagrams
2/5In this classic Meta interview question, candidates are given a collection of strings and must partition them into clusters of words formed by rearranging the same letters. The challenge tests string manipulation, hashing techniques, and frequency counting to achieve optimal performance. A common follow-up explores sorting the resulting clusters by population size. To view the complete problem description and model code solution, a paid subscription is required.
Coding QuestionsMetaPrioritized Task Listing with Sub-task Ordering
3/5Build a task-list class that hides finished, assigned and repeated tasks and prints the rest in a precise priority order, with ties broken by several rules. A second method then places sub-tasks before or after their parent depending on due dates, at any nesting depth.
Coding QuestionsMetaMerge Two Sorted Interval Arrays
3/5This classic algorithmic problem, frequently asked during technical interviews at Meta, requires you to combine two separately sorted collections of closed time intervals into a single consolidated timeline. The exercise tests your ability to handle overlapping ranges efficiently while maintaining the correct chronological sequence. Gaining access to the complete problem specifications, constraints, and the comprehensive model solution requires a paid subscription.
Coding QuestionsMetaBar and Foo
3/5Find the longest word from a list that can be spelled by deleting characters from a given string without reordering what remains, preferring the alphabetically smallest on a tie. This Meta question is a subsequence check repeated across candidates, and the interesting part is the ordering rule layered on top. You will test each candidate with two pointers, compare by length then alphabetically, and reason about the cost when both the string and the list are large. Subscribers get the complete problem and the model solution.
Coding QuestionsMetaFind Pair Closest to K
2/5Find the two values in a sorted array whose sum lands nearest a target, where the best pair may overshoot the target rather than fall short. This Meta phone-screen staple is a two-pointer walk, and the detail that catches people is that closeness is absolute: a sum above the target can beat one below it. You will converge the pointers correctly, track the best distance seen, and settle how ties between equally close pairs resolve. The full problem and reference solution are available with a subscription.
Coding QuestionsMetaSmallest number constructed by odd digits
2/5Pull only the odd digits out of a number and rearrange them into the smallest value they can form. This Meta screening question is deliberately easy and still separates candidates on care: the digits must be selected, then ordered, and the input can run to a thousand digits so string handling beats arithmetic. You will decide how to treat repeated digits and why sorting ascending is sufficient here. The complete problem and the reference solution are available to subscribers.
Coding QuestionsMeta
Sorting questions at Uber
Maximum Number of Points from Grid Queries
4/5A coding question on a grid whose cells carry values, answered for many threshold queries at once. Each query asks how large a region around the top-left corner stays reachable when only cells below the threshold may be entered.
Coding QuestionsUberCustomer Revenue and Referral Tracking
3/5Tackling a financial tracking challenge frequently encountered in Uber technical interviews, this problem asks you to build a system that monitors client earnings and referral bonuses while supporting efficient queries to retrieve users meeting specific financial thresholds. You will need to optimize data structures for fast insertion and conditional sorting. Unlock the comprehensive breakdown and verified implementation details by securing our full subscription.
Coding QuestionsUberVertical Order Traversal of a Binary Tree
4/5This reported Uber interview question evaluates your ability to navigate hierarchical structures by arranging tree nodes into columns and rows. You will need to implement a strategy that accurately computes spatial coordinates for each element, ensuring proper sorting by horizontal placement, depth, and node values when ties occur. This task tests your proficiency with custom sorting logic and tree traversal algorithms. Access to the complete problem description and expert model solution requires a subscription.
Coding QuestionsUberRide-Sharing Service: Efficient Batching
3/5Group individual ride requests into shared vehicles so that as few vehicles as possible are needed, within a seat limit per vehicle. This Uber question is a compatibility-and-packing problem, and the hard part is defining compatibility before optimising anything. You will state the matching rule you are using, sort or bucket the requests to make the grouping cheap, and explain why the greedy choice is defensible. Subscribers get the complete problem and the model solution.
Coding QuestionsUberOrdered Squares of a Sorted List
2/5Take a list of integers already in order, possibly with negatives, and return the square of each entry so that the new list is in order as well. The task rewards noticing how the original ordering constrains where the largest results can appear. Subscribers can open the full statement, analysis and model solution.
Coding QuestionsUberActive Couriers Timeline from Overlapping Intervals
3/5In this Uber interview scenario, you are tasked with analyzing overlapping timeframes for delivery personnel to construct a continuous schedule of active worker counts. The exercise tests your proficiency with interval processing, sorting events, and consolidating overlapping ranges efficiently. Unlock the full challenge details and verified code solution with an active subscription.
Coding QuestionsUberChecking Existence of Edge Length Limited Paths
3/5This Uber interview question challenges you to process a network of connected nodes and evaluate connectivity queries subject to strict edge-weight thresholds. It evaluates your grasp of graph traversal algorithms and efficient offline query processing strategies. Upgrade your account to access the complete problem details and optimal code implementation.
Coding QuestionsUber
Sorting questions at ByteDance
Merge Intervals with Possibly Reversed Endpoints
3/5Tackle a popular coding assessment problem reported at ByteDance involving interval combination where raw segment endpoints might arrive out of order. Engineers must normalize boundary values and efficiently consolidate overlapping ranges into a clean, sorted sequence. This task tests your ability to handle messy incoming datasets and implement interval manipulation algorithms correctly. Reviewing the full problem specifications and optimal implementation requires an active subscription.
Coding QuestionsByteDanceMerge Overlapping Closed Intervals
3/5A coding question on combining ranges of numbers that share any point into the fewest possible ranges. It checks careful handling of ranges that merely meet at an end, ranges nested inside others, input given in no particular order, and results that must come back in ascending order.
Coding QuestionsByteDanceTask Execution Order on One Processor
3/5A coding question on simulating one worker that handles jobs arriving at different times, always taking the cheapest ready job and breaking ties by identifier, and reporting the order in which jobs begin.
Coding QuestionsByteDanceMeeting Rooms III (Most Booked Room)
4/5This ByteDance interview question tests your resource scheduling and allocation logic using a priority-based meeting room assignment system. You must process scheduled time intervals sequentially, assigning venues according to availability rules, tie-breaking indices, and conflict delay mechanisms. The challenge assesses your ability to maintain sorted states efficiently while tracking usage frequency metrics. Access to the complete problem description and an optimal model solution requires a subscription.
Coding QuestionsByteDanceMeeting Rooms II (Minimum Rooms Required)
3/5Frequently featured in ByteDance technical screenings, this scheduling challenge requires you to compute the minimum quantity of spaces necessary to host overlapping events simultaneously without conflicts. By organizing time boundaries and tracking concurrent allocations, you will test your proficiency with interval processing and greedy optimization strategies. Mastering this scenario is essential for handling resource-allocation puzzles in distributed systems. The full problem and model solution require a subscription.
Coding QuestionsByteDanceAttend All Meetings Without Conflicts
2/5A coding question about checking a schedule of time ranges for clashes. It tests how a candidate treats ranges that merely touch and ranges given in no particular order.
Coding QuestionsByteDance
Sorting questions at Roblox
Merge Intervals
3/5Combining a collection of ranges so that any that share a point become one range. The task checks sorting and a single sweep that handles touching and nested ranges.
Coding QuestionsRobloxFurtherAIMost Frequent Function in Call Stacks by Thread
3/5Work out which function dominates each thread's sampled call stacks, counting according to a specified rule about depth. Asked at Roblox, the parsing is half the work: stacks arrive as ordered frames per thread, and the counting rule decides whether a repeated frame within one stack counts once or many times. You will group by thread, apply the rule exactly as written, and break ties deterministically. Subscribers can read the full problem and the reference solution.
Coding QuestionsRobloxMinimum Height Difference Between Distant Peaks
3/5In this algorithmic puzzle reported from Roblox, you are given an array representing mountain elevations and must find the minimum absolute difference between any two peak heights separated by at least a specified index distance. The problem tests your capability to optimize linear scans and maintain sliding window extrema. To access the complete problem details, optimal complexity bounds, and tested code solution, a paid subscription is required.
Coding QuestionsRobloxSingle-Threaded CPU Task Scheduling
3/5A coding question on simulating how a single worker picks its next job over time, given arrival times, durations and deterministic tie-breaking. The result is the order in which the jobs are executed.
Coding QuestionsRobloxRemove Prefix Strings
3/5A string question about a list of words in which some words begin with other, shorter words. The learner must filter the list while keeping the original order.
Coding QuestionsRobloxCursor-Based Pagination Over Globally Sorted Logs
3/5This Roblox software engineering interview question centers on implementing efficient cursor-based pagination over globally merged, sorted log streams from multiple users. You will need to build both a localized lookup function for individual user timelines and a global pagination engine that maintains stable continuation tokens and correct chronological ordering across all sources. This challenge tests your knowledge of merging sorted iterators and designing stateless pagination APIs. To examine the complete problem details and the robust implementation strategy, a subscription is required.
Coding QuestionsRoblox
Sorting questions at Apple
Dedupe Unsorted Array (Three Variants)
3/5This Apple interview challenge explores multiple levels of removing duplicate elements from a disordered collection of numbers, culminating in a strict variant that forbids auxiliary storage and built-in sorting mechanisms. It tests your mastery of foundational algorithmic efficiency, in-place data manipulation, and custom sorting logic from scratch. Interviewers use this problem to gauge how deeply candidates understand memory constraints and low-level array operations. Gain access to the full problem breakdown and optimal model solution by subscribing today.
Coding QuestionsAppleFailed Login Log Ranking
2/5This data aggregation task involves processing client authentication records to identify suspicious security events reported in Apple interviews. You will need to filter authorization attempts by their outcome, compute aggregate metrics for each origin address, and organize the results using custom sorting criteria. The challenge evaluates your data manipulation and sorting skills under specific constraints. Unlock the full problem details and expert solution with an active subscription.
Coding QuestionsAppleZero Out Duplicates and Sort Without Native Sort
2/5A coding question on cleaning up a list of integers by blanking repeated values and then ordering the result with a hand-written ordering routine. It checks negative numbers, input handling and writing your own ordering step.
Coding QuestionsAppleTree Column Order with Row and Value Tie-Breaks
4/5A coding question about reading a binary tree column by column, as if it were drawn on a grid. It checks precise ordering rules for nodes that share a column or occupy the very same grid cell.
Coding QuestionsAppleGroup Words That Use the Same Letters
3/5A coding question on string grouping: given a list of lowercase words, collect every set of words that are rearrangements of one another and return those collections, keeping each word exactly once per occurrence.
Coding QuestionsAppleCombine Overlapping Ranges
3/5A coding question on reducing a list of closed numeric ranges to the fewest disjoint ranges that cover the same points. It checks how ranges that only touch at an endpoint, nested ranges and unsorted input are handled.
Coding QuestionsApple
More Sorting questions
Minimum Swaps to Sort (Cycle Decomposition)
3/5As seen in Akuna Capital coding evaluations, this problem requires calculating the absolute fewest element exchanges needed to arrange an array into its proper ordered sequence. Candidates must analyze permutation paths and apply cycle decomposition concepts to determine the optimal number of corrective moves efficiently. This exercise tests your grasp of graph theory principles applied to arrays and combinatorial optimization. Unlock the full question breakdown, mathematical proof, and complete model solution with a paid subscription.
Coding QuestionsAkuna CapitalModerator List Hierarchy
3/5Reported as a technical interview question at Reddit, this exercise requires you to reconstruct a hierarchical administrative state from a chronological stream of log events. You must process user elevation and removal actions accurately to determine active privileges and enforce permission rules based on historical timestamps. The challenge emphasizes careful state management, event ordering, and robust data structure design. The complete problem statement, edge-case analysis, and reference implementation require a subscription.
Coding QuestionsRedditShopping and Billing
3/5Explore a queue-management simulation puzzle frequently encountered during candidate evaluations at WeWork. This scenario examines how patrons sequentially choose the shortest waiting line at multiple service stations, requiring you to compute precise departure timestamps based on arrival schedules and processing durations. It evaluates your proficiency with priority queues, heaps, and efficient state tracking. Access the complete problem description, architectural breakdown, and fully developed code solution by upgrading to a paid subscription.
Coding QuestionsWeWorkFun With Anagrams (Deduplicate Anagrams)
2/5Streamline a collection of text strings by removing redundant anagrams while preserving the earliest appearance of each equivalence class, a common task in Akuna Capital interviews. This problem evaluates your skill in utilizing hashing, frequency counting, or canonical sorting keys to identify patterns and manage lexicographical ordering. It is a great exercise for strengthening core string processing capabilities. Get the complete problem guidelines and our optimized model solution with a subscription.
Coding QuestionsAkuna CapitalWeekly Deployment Window Scheduler
3/5Navigate complex interval arithmetic with this practical scheduling challenge reported from engineering interviews at Stripe. The goal is to compute valid operational timeframes throughout a repeating weekly cycle by intersecting permissive schedules while excluding blocked maintenance windows. This problem evaluates your skill in interval merging, set operations, and boundary management over cyclical timelines. Unlock the full problem statement and a robust model solution by securing a subscription.
Coding QuestionsStripeMerge Intervals Returning Original Start-End Indices
3/5This interview question, frequently asked at Walmart Labs, extends traditional interval merging by demanding that you track the original positional indices of the segments involved in each consolidation. You must effectively sort and combine overlapping ranges while preserving metadata regarding which initial inputs contributed to the final spans. Exploring the full problem details and the complete model solution requires a paid subscription.
Coding QuestionsWalmart LabsMatching Contacts by Email Domain and Preferences
3/5This customer routing challenge, featured in Stripe interviews, requires matching incoming email addresses to appropriate support contacts based on domain patterns and customized priority lists. The implementation must evaluate domain preferences, handle fallback rules for unconfigured agents, and sort resulting matches deterministically. This task tests string parsing capabilities and clean, rule-based data filtering logic. Discover the comprehensive problem details and optimal implementation by subscribing.
Coding QuestionsStripeSort Documents on a 2D Plane
3/5In this Figma software engineering interview challenge, applicants must sort visual documents distributed across a two-dimensional space based on their horizontal positions and boundaries. Follow-up requirements introduce vertical layout arrangements and hierarchical parent-child containment structures to test advanced spatial sorting algorithms. Detailed problem parameters and complete programmatic solutions are reserved for subscribers.
Coding QuestionsFigmaUsing Stream API in Java
2/5This introductory programming exercise, featured in technical assessments at Antra, asks you to process a collection of text items to isolate those containing a specific substring and present them in alphabetical order. The challenge evaluates basic data filtering and sorting capabilities using modern functional programming paradigms or standard library utilities. Unlock the full problem specifications and the complete reference solution with a subscription.
Coding QuestionsAntraCheck for 5-Minute Break Between Meeting Intervals
2/5Master interval scheduling algorithms with this targeted interview question frequently reported at Maven Clinic. The exercise challenges you to process a collection of scheduled time blocks and verify whether sufficient gaps exist between consecutive commitments. You will need to demonstrate strong sorting and comparison techniques to handle chronological boundaries accurately and return a definitive boolean result. Discover the complete problem walkthrough and professional implementation by getting a subscription.
Coding QuestionsMaven ClinicSort Matrix Anti-Diagonals by Their Letter Sequences
3/5Read each anti-diagonal of a letter grid as a string, then reorder the diagonals according to those strings. This Capital One question is index arithmetic first and sorting second: the diagonals are identified by the sum of row and column, and reading direction matters. You will collect each diagonal in the stated order, sort by the resulting strings, and write the grid back so that every cell lands where the new order puts it. The full problem and the reference solution require a subscription.
Coding QuestionsCapital OneNFT Borrowing System with Search and Reporting Functions
3/5Designed around digital asset management, this practical programming challenge requires you to build a robust class to handle borrowing, returning, and querying operations for unique tokens. Featured as a reported Uniswap interview question, it tests your proficiency in object-oriented design, state management, and maintaining sorted data structures for rapid lookups. To view the full problem specifications and a clean reference implementation, a paid subscription is necessary.
Coding QuestionsUniswapJohn Venn (Efficient Set Matching)
2/5This BlackRock coding challenge requires you to compute the intersection of two collections containing alphanumeric elements efficiently. You must compare the input sets, isolate shared values, and format the results in a specific sorted order while gracefully handling empty intersections. The problem assesses your foundational knowledge of set operations, sorting algorithms, and time complexity optimization in data processing. Unlock the complete problem prompt and optimal model solution by subscribing.
Coding QuestionsBlackRockSensor Data Query Processor
3/5In this Applied Intuition interview problem, you are tasked with developing a high-performance query processor for time-series sensor data. After ingesting large volumes of timestamped readings, your program must swiftly respond to various analytical requests, including latest values, averages, minimums, maximums, and counts over specific temporal ranges. This challenge tests your data structuring and algorithmic efficiency when dealing with massive telemetry logs. Access the full question and expert solution by subscribing.
Coding QuestionsApplied IntuitionImplement Merge Sort
3/5Write merge sort yourself: split the array, sort each half, and combine the halves back into order. This Two Sigma question is asked because the merge step exposes everything — whether you allocate once or per call, whether your comparison keeps equal elements in their original order, and whether the recursion bottoms out cleanly. You will manage the extra buffer within the stated allowance and state the time and space costs separately. The complete problem and the reference implementation are available to subscribers.
Coding QuestionsTwo SigmaFind K Closest Elements
3/5Reported as a Visa technical assessment, this problem challenges you to locate a specific quantity of nearest numerical neighbors around a target value within an ordered sequence. The task examines your mastery of binary search techniques and customized sorting logic for tie-breaking scenarios. Access to the full problem text and optimized solution requires a subscription.
Coding QuestionsVisaGet Most Active Users Within Time Range
3/5Work out which users were online the longest inside a time range, given unordered connect and disconnect events. This Microsoft question is an interval-reconstruction problem: the events must be paired per user, clipped to the window, and then totalled before any ranking happens. You will sort per user, handle a session that starts before the window or never closes, and return the requested number of users in descending order. The complete problem and the model solution are available with a subscription.
Coding QuestionsMicrosoftCompute Overlapping Intervals Across Multiple Schedules (Line Sweep)
3/5This interview challenge, frequently featured in technical rounds at Veeva Systems, requires candidates to process multiple time intervals representing busy schedules across various entities. The main objective is to efficiently determine the peak concurrency of active periods and isolate the exact chronological spans where this maximum overlap occurs. Solving this puzzle tests your ability to apply coordinate compression and interval management algorithms for optimal performance. Access to the comprehensive breakdown and professional model solution requires a subscription.
Coding QuestionsVeeva SystemsMinimum Cost to Send People to Two Cities (Generalized to K)
3/5Send a group of people to two destinations at minimum total cost while filling each destination exactly half full. This Bloomberg question has a neat greedy answer driven by the cost difference per person, and then a follow-up that generalises to several destinations and breaks the greedy argument. You will sort by the difference, assign the clear cases first, and explain why the many-destination version needs a different technique. The full problem and the model solution require a subscription.
Coding QuestionsBloombergRemove m Elements to Minimize Unique Count
3/5Reported during a Walmart Labs technical interview, this puzzle challenges candidates to eliminate a specified quantity of elements from a collection to achieve the smallest possible number of unique values. The exercise evaluates proficiency in frequency analysis, greedy strategies, and custom sorting techniques to optimize data reduction. Participants must carefully balance element frequencies against the removal budget. Access to the full problem breakdown, optimal algorithms, and annotated code requires an active subscription.
Coding QuestionsWalmart LabsSwap Parity — Largest Number
3/5Encountered in Palantir interview rounds, this problem tasks you with maximizing a numerical value by repeatedly swapping adjacent digits that share the same parity. You must determine the optimal sequence of allowed exchanges to achieve the largest possible arrangement. This question tests greedy strategies, sorting concepts, and state manipulation on large strings. Access the complete problem statement and professional solution code by purchasing a subscription.
Coding QuestionsPalantirClassify a Digit Array by Consecutive Order
2/5Classify a short array of digits as consecutively rising, consecutively falling, or merely rearrangeable into one of those. This Palo Alto Networks question is a specification exercise where the three categories overlap in ways that have to be resolved in a fixed order. You will test the original order first, then test the sorted form, and decide which label wins when more than one applies. The full problem and the reference solution require a subscription.
Coding QuestionsPalo Alto NetworksQR HackerRank Profitable Pairs and Delivery Order
3/5This Akuna Capital online assessment features a dual-part technical evaluation focusing on financial pair optimization and network routing logic. The first segment examines combinations meeting specific profitability thresholds, while the second explores graph traversal and distance-based sorting across disconnected nodes. Candidates must demonstrate strong combinatorial reasoning and graph theory application to succeed. To view the full problem statements and expert solutions, a paid subscription is required.
Coding QuestionsAkuna CapitalChain Merge
3/5Tackling a complex dependency management puzzle reported from Rubrik, this question requires you to organize linear chains of archival items governed by strict retention timelines and hierarchical parent rules. You must determine the ideal interconnection sequence for the primary elements so that overall cleanup operations face zero artificial delays. This scenario tests your graph traversal intuition, topological sorting capabilities, and advanced scheduling strategies. Gain full access to the complete challenge and a robust model implementation through a paid subscription.
Coding QuestionsRubrikProcess Execution Time (Merge Inclusive Intervals)
3/5This IBM interview question presents a scenario where you are given a collection of start and end times for various processes. Your goal is to compute the total cumulative duration during which at least one process was actively running. This involves identifying overlapping time intervals and merging them to avoid double-counting, while also correctly accounting for inclusive endpoints. The problem assesses your proficiency in interval management and efficient aggregation of time ranges, often requiring techniques like sorting or sweep-line algorithms. The full problem and model solution require a subscription.
Coding QuestionsIBMSort an Array with One Misplaced Element
3/5Reported as an interview challenge at Glean, this algorithmic task requires you to restore order to an integer sequence that has been disrupted by a single misplaced item. You are tasked with achieving linear time complexity without relying on standard comparison-based sorting utilities, making it a unique test of array traversal and edge-case management. The exercise probes your ability to recognize structural anomalies and design optimal linear routines. Review the full problem statement and the verified model solution with an active subscription.
Coding QuestionsGleanParty Time Blocks
3/5This reported interview question from Scale AI challenges candidates to process and analyze temporal intervals grouped by geographical regions. Developers must compute overlapping active periods and identify empty gaps while handling timestamp parsing, precise formatting, and robust unit testing. This scenario evaluates practical software engineering skills regarding sorted data and structured validation. Access the complete problem description and expert model solution with a paid subscription.
Coding QuestionsScale AIDisplay Sort
3/5Encountered during Figma interviews, this geometric sorting task challenges you to arrange UI elements based on their spatial positioning on a canvas. The objective is to establish a natural reading order by grouping components into rows using vertical overlap rules and sorting horizontally from left to right. This puzzle tests your mastery of spatial algorithms, coordinate geometry, and transitive grouping logic. Gain full access to the comprehensive problem guide and clean code solution with a subscription.
Coding QuestionsFigmaMinimum Sum-of-Distances Meeting Point on a Line
3/5A coding question about choosing one meeting spot on a straight road for stations at integer positions. The learner returns the smallest achievable total travel distance, handles repeated, negative and empty inputs, and must stay fast for hundreds of thousands of stations.
Coding QuestionsLinkedInCalendar Event System with Pagination and Interval Queries
3/5Learn how to design and implement a robust scheduling platform capable of managing time intervals efficiently under heavy workloads. Highlighted as a practical coding question from Lead Bank, this task tests your expertise in range queries, ordered data structures, and pagination algorithms. You will need to build mechanisms for insertions, removals, and overlap detection while maintaining strict performance standards. Access the complete problem statement, architectural guidelines, and tested solution code with a subscription.
Coding QuestionsLead BankMinimum CPU Cores (Inclusive Meeting Rooms)
2/5Reported as a common interview question at JPMorgan, this scheduling puzzle asks you to determine the minimum number of processing units necessary to execute overlapping tasks without contention, accounting for inclusive time boundaries. The challenge evaluates your ability to sweep across temporal events and manage resource allocation dynamically. Unlocking the full problem details, test cases, and the expert model solution requires an active paid subscription.
Coding QuestionsJPMorganMinimum Swaps to Sort Descending
3/5Reported as an engaging JPMorgan technical screening problem, this puzzle asks you to calculate the fewest element adjustments needed to arrange a collection into descending order. The evaluation focuses heavily on your understanding of permutation cycles, array transformations, and managing duplicate values without ambiguity. It serves as an excellent test for algorithmic efficiency and discrete mathematics concepts. Access the comprehensive walkthrough, complexity analysis, and fully implemented solution code by upgrading to a paid subscription.
Coding QuestionsJPMorganDesign a Time-based Broadcast Service for Company Subscribers
3/5This Attentive interview question challenges candidates to build a scheduled notification dispatching platform that tracks time-based records and targets. Programmers must effectively organize scheduled messages alongside follower registries, triggering updates dynamically as timelines progress. This problem evaluates your ability to handle asynchronous events, manage time constraints, and coordinate data structures for efficient lookup and delivery. To master the optimal scheduling strategy and inspect the complete code implementation, access the full problem details with a subscription.
Coding QuestionsAttentiveCombine Lists from JSON and API
2/5This Twitch coding question asks you to merge product records from a local data file and a paginated web API into one clean list. It tests JSON handling, hash-based deduplication with a clear precedence rule, sorting, and how to keep file and HTTP I/O apart from pure logic. The full problem and model solution require a subscription.
Coding QuestionsTwitchMerge Two Sorted Arrays and Deduplicate
2/5Combine two already-sorted arrays into one sorted result with every repeated value appearing only once, without disturbing either input. This Microsoft question is the merge step of merge sort with a deduplication rule layered on, and the rule applies across both inputs rather than within each. You will advance two cursors, skip values equal to the last one emitted, and handle an empty input on either side. The complete problem and the reference solution are available with a subscription.
Coding QuestionsMicrosoftFind the K-th Largest Element in an Array
3/5This classic coding assessment from WeRide challenges you to identify the element at a specific ordinal rank within an unsorted collection of numbers. It tests your knowledge of efficient selection algorithms, sorting trade-offs, and priority queue management. Access the complete problem description and optimal solution by subscribing.
Coding QuestionsWeRideLast to Be Checked
3/5This interview task from The Trade Desk simulates an arrival queue with capacity limits and service bottlenecks, asking you to determine the exact timestamp when the final person completes processing. The problem tests your ability to model real-world queuing systems and handle discrete event timelines. Unlock the full problem statement and expert solution with a subscription.
Coding QuestionsThe Trade DeskImplement a Leaderboard System
3/5Reported as an Anchorage Digital interview task, this problem requires you to implement a dynamic ranking service capable of modifying scores, retrieving top competitors, removing entries, and querying specific positions efficiently. The challenge focuses on selecting appropriate data structures to maintain high performance across frequent updates and lookups. The complete problem statement, performance constraints, and a complete code solution require a subscription to access.
Coding QuestionsAnchorage DigitalMeetup Schedule (Maximum Investor Meetings, One Per Day)
3/5Encountered during technical evaluations at WeRide, this scheduling puzzle requires you to maximize the number of investor appointments you can securely lock in. Given that each financier is available only within a specific temporal window and you can only commit to a single appointment per day, you must strategically map out your calendar. The task examines your proficiency with greedy strategies and interval management techniques. Unlock the complete breakdown and expert model implementation by purchasing a subscription.
Coding QuestionsWeRideRoad Trip
3/5This BlackRock algorithmic interview question tests your ability to parse structured string inputs and perform sequential distance calculations. Given a collection of destination names paired with cumulative travel lengths from a common starting point, you must sort the route and determine the distance to the closest stop alongside the isolated segments separating consecutive locations. The exercise evaluates basic parsing and math logic. The full problem description and complete model solution require a subscription.
Coding QuestionsBlackRockMarketing Engine: Multi-Campaign Event Notifications
3/5Tackle a practical backend design challenge frequently featured in StubHub interviews, requiring the creation of a targeted marketing notification engine. Developers must architect modular components that dynamically filter consumer profiles against multiple promotional campaigns based on geographic and personal criteria. The exercise evaluates system extensibility and efficient data modeling for real-time promotional messaging. Reviewing the complete architecture, implementation details, and optimal solution requires a subscription.
Coding QuestionsStubHubMerchant Payout Schedule with Hold Days
2/5A coding question about scheduling money transfers: given recurring payout dates, decide which date each payment belongs to and report one combined total per date. It extends from a single schedule to per-account schedules and then to a waiting period before payments become eligible.
Coding QuestionsStripeAggregate Ad Click Logs with Lexicographic User Range Queries
3/5This Moloco coding question evaluates how efficiently you can process a large batch of event records keyed by strings. You need to combine metrics per key and then serve many interval lookups whose boundaries are alphabetical, so the data layout you pick determines whether the solution scales. Edge cases around inclusive bounds and string ordering are part of the test.
Coding QuestionsMolocoRank Recipes by Ingredient Count with Tie-Breaking
3/5Sharpen your data sorting capabilities with this collection management puzzle reminiscent of technical interviews at Cedar. The objective is to organize a repository of culinary items using a primary attribute while establishing robust secondary criteria to handle duplicate values deterministically. This scenario examines your proficiency with custom comparison logic, multi-key sorting stability, and efficient data structuring in application development. Review the complete problem specifications and optimal implementation details by acquiring a subscription.
Coding QuestionsCedarCount Servers With No Requests in a Time Window
3/5A coding question about counting, for each of several query times, how many servers were idle during a fixed-length inclusive time window given a log of requests. It stresses handling large inputs, duplicate requests and window boundaries.
Coding QuestionsIBMSort Topic Names by Prefix and Numeric Suffix
2/5A coding question on ordering labels that combine a text prefix with a number, where plain alphabetical sorting puts ten before two. It tests building a multi-level ordering from parsed parts, breaking ties between different spellings of the same number, and handling numbers of any size.
Coding QuestionsPerplexityMultithreaded Integer Sort
3/5xAI coding question on concurrent sorting: divide an integer list among worker threads, order each part, and combine the parts efficiently. It tests chunking, thread pools, k-way merging with a heap, and a clear explanation of the Python GIL and when processes help. A subscription unlocks the full statement and the reference solution.
Coding QuestionsxAIDesign an Event Store with CRUD and Sorted Insert (Binary Search) + Pagination
3/5In this technical challenge reported from Lead Bank, you are tasked with building an in-memory chronological data manager supporting standard retrieval functions and efficient insertion logic. The core requirement mandates maintaining strict chronological ordering by leveraging binary search to place new records swiftly without resorting to full sorting overhead. This exercise evaluates your capability to combine fundamental data structures with search algorithms for optimal performance under update operations. Unlock the complete problem description and a comprehensive model solution with a subscription.
Coding QuestionsLead BankTop-K Co-Occurring Products in Sessions (Recommendation by Frequency)
3/5This eBay interview question asks you to analyze user browsing session data to find the most frequently co-occurring products alongside a specific target item. The puzzle evaluates your data aggregation and frequency counting skills, requiring careful session-level deduplication to identify top recommendations based on user navigation patterns. To review the comprehensive problem description, edge-case handling strategies, and fully tested model solution, a subscription is necessary.
Coding QuestionseBayTop 3 Trending Hashtags in a Time Window
3/5Tackle a practical data stream analysis problem frequently encountered in interviews with F5 Networks. Given a collection of messages and associated timestamps, your goal is to extract and rank the most frequently occurring hashtags within a designated sliding time window. This challenge assesses your proficiency in string parsing, temporal filtering, and efficient frequency counting. Reviewing the complete problem context and optimal algorithmic solution requires a subscription.
Coding QuestionsF5 NetworksPeak Capacity Overlapping Events (Line Sweep)
3/5Reported during Faire technical interviews, this problem explores tracking concurrent resource consumption over time using coordinate compression and sweep-line algorithms. You will need to calculate peak utilization thresholds across overlapping chronological intervals and identify exact active windows. It tests your mastery of event-driven data processing and interval arithmetic. Unlock the complete problem guide, architectural insights, and clean code implementation with a paid subscription.
Coding QuestionsFaireThread-Safe Latency Tracker with Percentile Window
4/5A Netflix systems interview question on service monitoring: build a component that ingests response-time measurements from many concurrent callers and answers tail-latency queries, such as the 99th percentile, over a recent span of time. It tests how you organize streaming data for fast range lookups, how you compute rank statistics, and how you keep shared state consistent without slowing writers down. The full specification and a reference implementation are available with a subscription.
Coding QuestionsNetflixFairly Distribute Money With Limits
3/5This reported interview question from Gusto evaluates your ability to handle resource allocation under specific constraints and limits. You are tasked with distributing a fixed pool of discrete units among a group of recipients as equitably as possible while respecting individual maximum caps. The challenge tests your logic for balancing proportional distribution and surplus handling without violating upper boundaries. The full problem and model solution require a subscription.
Coding QuestionsGustoBuild Nested Comments from Flat List with parentId
3/5Transforming a flat array of user remarks into a hierarchical tree structure is a common frontend engineering challenge often encountered in interviews at companies like Bobyard. This problem tests your ability to efficiently organize related records using parent identifiers while handling edge cases such as missing nodes or chronological sorting requirements. To view the complete problem statement along with an optimized algorithmic solution, a subscription is required.
Coding QuestionsBobyardCitation Problem
2/5Compute the index that reports how many papers have at least that many citations each. This Harvey question is short and has two good answers worth comparing: sorting descending and walking until the condition fails, or counting into buckets for a linear solution. You will handle papers with no citations, note that the answer never exceeds the paper count, and state which approach you chose and why. A subscription unlocks the complete problem and the reference solution.
Coding QuestionsHarveyFind Most Frequently Purchased Products
2/5This HSBC coding challenge requires candidates to identify popular inventory items purchased by a broad segment of shoppers. By analyzing customer transaction bags, the objective is to isolate specific product identifiers that meet a minimum frequency threshold across buyers. This exercise assesses hash table utilization, frequency counting, and data aggregation techniques. Unlock the full question details and a thoroughly tested solution by upgrading to a subscription.
Coding QuestionsHSBCMaximum Concurrent Calls from Time Intervals
3/5Delve into a popular interval-processing puzzle featured in HubSpot coding interviews, designed to determine the peak overlap of active sessions over time. This challenge evaluates your capability to manipulate chronological boundaries, sort temporal data, and efficiently compute maximum concurrent events without relying on naive nested loops. Mastering this question will significantly improve your interval manipulation techniques for upcoming technical screens. Unlock the comprehensive walkthrough and optimal code solution by subscribing.
Coding QuestionsHubSpotPrint Directory Tree Given a File Path
3/5This Adobe interview challenge asks developers to traverse a nested data structure representing a hierarchical file system and output a visually formatted tree of directories and files. The task evaluates recursion, string manipulation, and error handling for missing or unexpected path types. Building a clean, indented visual representation tests fundamental tree traversal skills under structured constraints. Unlock the full problem description and expert reference solution by subscribing today.
Coding QuestionsAdobeCompute Precision-Recall Curve from Scores
3/5Evaluating binary classification performance across various decision thresholds is a core machine learning competency tested in interviews at Audible. This algorithmic question challenges you to compute a precision-recall curve given a set of predicted probabilities and ground truth labels, tracking true positives, false positives, and false negatives as thresholds change. Master this evaluation metric by accessing the full problem details and reference implementation, which require a subscription.
Coding QuestionsAudibleFind Overlapping Intervals
2/5This Lime interview question evaluates your ability to manage and analyze numerical ranges efficiently. You will need to inspect a collection of bounds to determine if any two segments intersect with one another. The challenge tests fundamental sorting techniques and array manipulation skills under performance constraints. Access to the complete problem description and an optimal model solution requires a subscription.
Coding QuestionsLimeGet Minimum Operations to Sort Array
3/5Encountered during technical interviews at Moveworks, this coding puzzle asks engineers to find the fewest division steps required to put a numeric array into non-decreasing order. Participants are allowed to split any integer into smaller positive components during the sorting process. The challenge tests greedy algorithmic thinking, array manipulation, and mathematical optimization under strict constraints. To view the complete analysis and tested programming solution, a subscription is required.
Coding QuestionsMoveworksTop K Errors in Request Responses Within a Time Window
3/5In this practical data processing problem from Notion, you are tasked with filtering and aggregating log records to identify the most prevalent system errors within a specific timeframe. The exercise measures your proficiency in date-time parsing, frequency counting, and ranking data streams. To view the complete problem instructions and the optimal solution, please subscribe.
Coding QuestionsNotionSliding Window Conversation Scores with Update and Percentile Query
4/5Build a sophisticated data structure that records time-stamped ratings and computes sliding-window statistics including percentiles, recently asked in interviews at Decagon. This problem assesses your ability to maintain time-ordered collections, handle dynamic updates efficiently, and execute range-based queries under strict performance constraints. It is an ideal challenge for testing advanced data structures and algorithmic efficiency. Access the complete problem specification and expert implementation details with a paid subscription.
Coding QuestionsDecagonMinimize Waste with Container Sets
3/5Presented during IMC Trading interviews, this optimization challenge asks candidates to select the best container set that minimizes total unused capacity when fulfilling a series of delivery requests. Each order requires a container that meets or exceeds its size requirements using available inventory dimensions. The problem evaluates algorithmic thinking, data filtering, and cost-reduction strategies under strict constraints. Unlock the complete problem details and expert solution by securing a subscription.
Coding QuestionsIMC TradingFinding a Hidden Benchmark Value
3/5Solve this Samsung interview question involving two large numeric collections and an optimization goal to maximize a specific score disparity under strict performance limits. The puzzle challenges you to efficiently evaluate relationships between array elements and identify the optimal adjustment parameter that yields the greatest variance. It tests your numerical analysis skills and ability to optimize search spaces for large data volumes. Gain access to the complete problem instructions and an efficient model solution by upgrading your subscription.
Coding QuestionsSamsungTop K Highest CTR Campaigns
2/5This data processing challenge, commonly reported during Samsung interviews, asks you to identify the highest performing advertising campaigns based on engagement metrics. Given raw impression and interaction logs, you must compute performance ratios and efficiently extract the top performers using sorting or heap-based selection strategies. It tests your capability to handle tabular data streams and implement efficient ranking algorithms. Unlock the complete problem prompt, sample data sets, and optimal solution code with a paid subscription.
Coding QuestionsSamsungSort Shows by User Preference (Open-Ended Design)
3/5This reported Netflix interview challenge tests your ability to design a content ranking engine that evaluates entertainment catalogs based on personalized user preferences. You will need to implement data models and scoring algorithms that combine category alignment, temporal relevance, and overall popularity while filtering out previously viewed content and ensuring consistent tie-breaking. To ace this algorithmic puzzle, master custom sorting logic and weighted feature calculations. Access to the comprehensive problem statement and optimal model solution requires a subscription.
Coding QuestionsNetflixRecipe Shopping Cart (Ingredients Still Needed)
3/5This Decagon interview scenario asks you to calculate missing ingredients and respective quantities by comparing a user selected set of recipes against their current pantry inventory. The exercise tests your ability to aggregate hierarchical data, manage inventory states, and perform precise dictionary lookups or arithmetic difference operations. It measures your backend logic formulation and data manipulation skills under real-world constraints. Unlock the full problem specifications and the optimal solution by purchasing a subscription.
Coding QuestionsDecagonMeeting Schedule Interval Overlap (day+time string parsing)
3/5Tackling calendar scheduling logistics often involves normalizing complex string formats into unified chronological epochs. Reported as an interview challenge at Nextdoor, this algorithmic exercise tests your ability to parse custom date-time strings spanning across weekly boundaries, convert them into comparable numeric representations, and efficiently consolidate overlapping or contiguous spans. You will need to design robust parsing logic and clean interval-merging routines to handle messy chronological inputs correctly. To view the comprehensive problem breakdown, test suites, and optimal code solution, please consider upgrading to a paid subscription.
Coding QuestionsNextdoorFind Gaps in Logistics
2/5Analyze a temporal sequence processing challenge commonly encountered in HackerRank assessments. Given a chronologically ordered dataset of supply chain milestones, your goal is to identify and report every inactive interval where no operational activity is recorded between consecutive occurrences. This problem evaluates your competency in sorting techniques, date-time arithmetic, and boundary analysis. Unlock the comprehensive prompt details and complete tested solution by becoming a subscriber today.
Coding QuestionsHackerRankInsert Interval
3/5Place one new interval into a sorted, non-overlapping list and merge whatever it touches, keeping the result ordered and disjoint. This OpenAI warm-up is short and unforgiving: the three regions before, across, and after the insertion each need their own handling, and an off-by-one at a shared endpoint changes the answer. You will decide whether touching intervals count as overlapping, and keep the pass linear instead of re-sorting. Subscribers get the complete problem and a clean reference solution.
Coding QuestionsOpenAIMinimize the Sum of Distinct Counts Across All Prefixes
2/5A coding question about rearranging repeated integers so that a cumulative score over prefixes is as small as possible. It tests whether the candidate can turn a global ordering objective into a compact computation while handling ties and extreme multiplicities correctly.
Coding QuestionsGoldman SachsDetermine Minimum Partitions Required
3/5In this Cloudflare interview question, you are tasked with analyzing storage allocations to compute the minimum number of data containers required to hold a specific workload. The challenge evaluates your resource management capabilities, mathematical reasoning, and ability to handle fragmented chunk distributions across capacity boundaries. You will need to design an efficient algorithm that minimizes overhead while satisfying all sizing constraints. Gain full access to the complete problem breakdown and expert solution by subscribing.
Coding QuestionsCloudflareClosest Pair of Points
4/5In this geometric optimization challenge reported from Luma AI, you are given a large collection of coordinates on a two-dimensional plane and must calculate the shortest possible Euclidean distance between any distinct pair. Because naive pairwise comparisons are far too slow for the given constraints, you must employ an efficient divide-and-conquer strategy or spatial partitioning technique. Precision handling and performance optimization are key to passing the rigorous test cases. The full problem and model solution require a subscription.
Coding QuestionsLuma AISocial Likes: Best Friends and Friend Recommendations
4/5Analyzing graph relationships and user preferences is a staple of social network engineering, featured in this interview question reported from Lead Bank. The task requires you to process friendship networks and item interactions to compute top connections based on shared interests and generate tailored recommendations. This problem tests your graph traversal skills, sorting algorithms, and efficient data aggregation techniques. Unlocking the comprehensive problem statement and the complete reference solution requires an active subscription.
Coding QuestionsLead BankMaximize the Minimized Three-Server Difficulty Split
4/5A coding question about splitting rated software modules across three servers when a checker then picks one module per server to make a spread of ratings small. The learner chooses the split that leaves the checker's best spread as large as possible and returns that value.
Coding QuestionsGoldman SachsSWE / QSE OA — IPO Share Allocation
3/5Simulate a fair stock distribution process where public offering shares are allocated to competing investors based on pricing hierarchy and submission timestamps. Documented from a Two Sigma online assessment, this coding task requires careful sorting, queue management, and iterative simulation to handle tied bids and remaining inventory correctly. It tests your ability to translate complex business rules into clean, deterministic code. Unlock the full challenge details and reference solution by purchasing a subscription.
Coding QuestionsTwo SigmaMerge Intervals (Variant)
3/5Sharpen your interval manipulation skills with this classic algorithmic puzzle reported during Nextdoor hiring loops. The challenge requires you to process a collection of paired boundaries, identify overlapping ranges, and consolidate them into a streamlined set of unique segments. This task evaluates your ability to sort and iterate through structured data efficiently while managing edge cases. Unlock the complete problem guidelines and optimal code implementation with a subscription.
Coding QuestionsNextdoorStack Trace Suffix Matching
3/5Match truncated crash reports against a library of complete stack traces, where only the frames nearest the failure survived collection. This Anthropic question is a suffix-matching problem, and the efficient answer indexes the known traces once instead of rescanning them per query. You will choose between reversed tries, suffix hashing, and plain comparison, return every trace that matches rather than the first, and define the result order. Subscribers get the complete problem and the reference implementation.
Coding QuestionsAnthropicEmail Log Grouping and Sorting
3/5Organize and process chronological communication logs in this Stripe-style coding challenge, which requires grouping entries by sender and sorting them using multiple hierarchical criteria. This task assesses your proficiency in data structuring, custom sorting logic, and clean data transformation in order to produce structured text outputs. It evaluates how well you handle complex requirements involving mixed data types and formatting. View the complete problem details and detailed model solution with a subscription.
Coding QuestionsStripeTwo-Intern Task Assignment Max Reward
3/5Tackle this engaging algorithmic programming challenge frequently featured in technical screenings at MathWorks. The objective centers on optimally distributing a collection of assignments between two participants based on distinct performance metrics to maximize the overall payout. You will need to apply efficient sorting and greedy selection principles to determine the ideal allocation strategy under specific quota constraints. Review the comprehensive problem statement and optimal coded answer by acquiring a paid subscription.
Coding QuestionsMathWorksPermutation Sort and the Rank of the First Sorted Ordering
2/5A warm-up on the slowest correct sorting method: try every rearrangement until one comes out in order. The real test is the follow-up, which asks you to predict exactly how much work that brute force does without running it, and it hinges on how repeated values are handled. Expect a discussion of factorial running time and ranking permutations.
Coding QuestionsMercorKth Largest Element
3/5Practice a fundamental data structure question frequently asked during software engineering interviews at Zillow. Given an unsorted collection of numbers, your task is to identify the specific numerical value positioned at a targeted rank when sorted in descending order. This problem effectively evaluates your ability to leverage priority queues and heap mechanics to solve selection problems efficiently without sorting the entire dataset. Unlock the complete problem statement, detailed explanations, and clean code solutions through a subscription.
Coding QuestionsZillowIn-Memory SQL Database: Order By a Column
3/5Design and extend a lightweight database query engine supporting conditional filters and sorted retrieval, as featured in recent Valon coding assessments. This problem tests your data structuring capabilities, custom sorting logic, and ability to maintain stable insertion orders when handling tabular information in memory. Get full access to the complete requirements, data validation strategies, and optimal model solution by upgrading to a paid subscription.
Coding QuestionsValonMaximum Cities Visited Traveling West to East with Lexicographic City Names
3/5A coding question about choosing the longest west-to-east route through a set of cities. Every stop must be strictly farther east and have a name that sorts strictly later, and the task is to report how many cities the best route covers.
Coding QuestionsUpstartMerge Overlapping Analytics Sessions
3/5A mobile engineering question about collapsing time windows recorded by an analytics SDK into non-overlapping sessions. Inputs arrive unsorted, windows can nest or touch at an endpoint, and the output must be ordered by start time.
Mobile Engineering (Android/iOS)MobileMaximum Fish Caught
3/5Greedy algorithms and strategic resource allocation are central to this engaging puzzle, highlighted as a reported ZipRecruiter interview question. Participants must maximize their catch by pairing limited lures with aquatic animals under specific sizing and usage constraints. This task evaluates your proficiency in sorting techniques and optimal decision-making strategies to achieve the highest possible score. Access the complete problem description and a verified reference implementation by subscribing today.
Coding QuestionsZipRecruiterEric's Sequence
4/5This Codeium interview task requires you to construct a unique integer sequence that satisfies strict relative magnitude constraints and sum conditions based on a provided array. You must generate distinct numbers while minimizing the absolute peak value within the sequence. The problem thoroughly examines advanced mathematical reasoning, array manipulation, and constraint optimization strategies. Gain instant access to the full problem text and a comprehensive model solution by purchasing a subscription.
Coding QuestionsCodeiumClosest Triple Sum to a Target
3/5Given a list of integers and a target value, pick three entries whose total lands nearest the target and report that total. Handle ties between equally near totals and small or extreme inputs.
Coding QuestionsWarner Music Group25 Horses, 5 Lanes: Find the Three Fastest
3/5A coding puzzle about ranking 25 horses on a track that holds five at a time and has no timer. You design a race schedule that identifies the single quickest horse, then the quickest three in order, without exceeding a set race budget.
Coding QuestionsGoldman SachsMaximum Requests in a Time Window
2/5In this technical challenge reported from a Salesforce online assessment, candidates must determine the highest frequency of events falling within a sliding time interval of fixed duration. The problem evaluates your ability to efficiently analyze sequential numerical data and optimize window-based queries without resorting to slow brute-force scans. You will need to apply smart pointer or sorting strategies to handle large inputs smoothly. Unlock the complete problem statement and model implementation by securing a subscription.
Coding QuestionsSalesforceDesign a Recommender System Based on Price and Distance
3/5Reported from StubHub coding interviews, this practical design challenge asks you to build a recommendation engine that filters and sorts items based on user budget constraints and geographic proximity calculations. You will need to implement spatial distance logic while processing coordinate datasets to deliver relevant user recommendations efficiently. This question assesses your ability to combine geometric formulas with practical filtering constraints in a clean implementation. The full problem details and a robust model solution are restricted to paid subscribers.
Coding QuestionsStubHubMeeting Room
3/5This scheduling optimization puzzle, reported from WeWork interviews, requires candidates to maximize attendance across multiple competing groups vying for a single meeting room. Given group sizes and reservation time windows, the objective is to select a non-overlapping subset of meetings that minimizes the total number of excluded participants. The assessment tests interval scheduling algorithms and combinatorial optimization. Unlock the comprehensive problem description and model solution by subscribing.
Coding QuestionsWeWorkParse Log File by Thread Id
2/5Reported as a practical coding challenge from Coinbase, this exercise tests your text processing and data organization skills by requiring you to ingest raw log records, filter out malformed entries, and structure the remaining output by thread identifiers and chronological sequence. It evaluates your proficiency with string manipulation, parsing logic, and efficient lookups. To view the complete problem instructions, sample datasets, and expert solution code, a subscription is required.
Coding QuestionsCoinbaseSubarray Removal
3/5Test your algorithmic thinking with this intriguing subarray elimination puzzle featured in D. E. Shaw recruitment rounds. The problem challenges you to determine how many different contiguous segments can be dropped from a sequence so that the remaining elements form a strictly increasing order. This task examines your capability to optimize linear scans and manage range boundaries effectively. To view the complete problem instructions and comprehensive model solution, please subscribe.
Coding QuestionsD. E. ShawFront-end Large Scale Data Rendering with React
3/5Focused on modern web development practices, this front-end engineering challenge from RBC Royal Bank asks candidates to build an optimized user interface capable of smoothly handling and filtering massive datasets in the browser. The exercise assesses your mastery of rendering virtualization, efficient state management, and sorting algorithms to maintain high frame rates with tens of thousands of items. Discover the architectural guidelines and comprehensive reference implementation with an active subscription.
System Design for MLRBC Royal BankUser Journey Paths (Action Log Trie Summary)
3/5Analyzing sequential event logs to understand user behavior patterns is a common task in modern product engineering. Featured in technical rounds at Whatnot, this coding problem asks you to process user activity logs, chronologically sort individual event histories, and aggregate these trajectories into a specialized prefix tree structure. The challenge evaluates your data structure design skills, particularly in maintaining distinct user counts across hierarchical action nodes. Discover the full problem description, edge-case analysis, and fully tested reference implementation with an active subscription.
Coding QuestionsWhatnotMaximize Points by Buying Cards with Cost and Multiplier
3/5Optimizing resource allocation under dynamic constraints is the focus of this engaging algorithm challenge featured in Virtu Financial interviews. Given a starting amount and a collection of items that each require a specific expenditure while simultaneously scaling your remaining total by a distinct factor, you must determine the optimal purchasing sequence to maximize your final score. This puzzle tests your grasp of greedy strategies, permutations, and state evaluation under strict threshold limits. To examine the complete problem description and expert code solution, a subscription is required.
Coding QuestionsVirtu FinancialPiles Of Boxes
3/5This interview question, sourced from BNP Paribas, presents a scenario where you must equalize the heights of multiple stacks of items using a series of reduction steps. Each move involves lowering the tallest piles to match the next available height level, and you must calculate the minimum number of operations required to achieve uniformity. It is an excellent test of sorting, frequency counting, and mathematical optimization skills. Unlock the full problem description and comprehensive solution with an active subscription.
Coding QuestionsBNP ParibasTeam Voting: Popular Vote and Ranked-Choice Winner
3/5This Coursera interview question explores election systems by asking you to process a collection of weighted ballots to determine winners using both simple plurality and ranked-choice voting rules. It evaluates your data parsing capabilities, dictionary aggregation techniques, and logic for handling multi-tier candidate preferences and tie-breaking scenarios. You will need to implement robust counting mechanisms to correctly tally scores across diverse voting profiles. Unlocking the complete problem specification and reference implementation requires a subscription.
Coding QuestionsCourseraMerge All Overlapping Intervals
3/5A coding question on combining a list of closed ranges on the number line into the fewest disjoint ranges covering the same points. The learner returns them in increasing order and has to deal with ranges meeting at a single end point, ranges nested inside others, and single-point ranges.
Coding QuestionsFractal AnalyticsConsolidate Overlapping Intervals
3/5A coding question about combining ranges on a number line. Given unordered ranges, produce the minimal set of non-overlapping ranges, paying attention to ranges that merely touch at an endpoint.
Coding QuestionsJPMorganMerge Two Sorted Lists with Maximum Length Constraint
2/5Handling ordered data under strict size limits is a frequent theme in systems interviews, as seen in this HubSpot coding challenge. The objective is to combine two sorted sequences while ensuring the resulting collection does not exceed a specified maximum length constraint. This problem assesses your pointer manipulation and algorithmic efficiency when dealing with sorted arrays. Access the complete problem specification and verified solution with a subscription.
Coding QuestionsHubSpotAdd Sorting to a Comment List with Persistence Across Refresh
3/5Delivering a seamless user experience through reliable state persistence is a common frontend requirement evaluated in technical assessments for companies like Bobyard. This coding challenge focuses on implementing robust sorting mechanisms for dynamic comment feeds based on multiple attributes and sorting directions, while ensuring user preferences survive page reloads through browser storage or URL parameters. Candidates must demonstrate clean comparator logic and efficient state synchronization as new items arrive in real time. To view the complete solution and detailed architectural notes, a paid subscription is required.
Coding QuestionsBobyardMaximize Sum of B Beating A by Permutation
3/5This strategic pairing puzzle, shared by candidates interviewing at Walmart Labs, requires you to rearrange a collection of integers to maximize favorable comparisons against a baseline array. The problem evaluates your ability to combine sorting strategies with greedy matching techniques to achieve optimal outcomes efficiently under moderate input constraints. You must carefully design your approach to avoid slow quadratic runtimes while ensuring all permutation rules are strictly satisfied. To read the complete problem statement, worked examples, and a fully optimized model solution, please subscribe.
Coding QuestionsWalmart LabsThird Largest Word by Length (Stable Tie-Break)
2/5String manipulation and custom sorting logic are frequent themes in assessments, as highlighted by this Codeium interview question. The challenge requires you to analyze a collection of words, rank them by length in descending order, and identify the third largest item while carefully applying deterministic tie-breaking rules based on original positioning. It tests your ability to combine sorting algorithms with custom comparator logic and boundary checks. Upgrade to a paid subscription to view the complete problem details and an optimal model solution.
Coding QuestionsCodeium3Sum Variant Find Unique Triplets Summing to Target
3/5Reported as a coding challenge during screening at The Trade Desk, this exercise asks you to discover every unique trio of numbers within an array that adds up to a specific goal. The task tests your mastery of pointer manipulation, sorting techniques, and duplicate elimination strategies to ensure the resulting combinations meet strict ordering rules. Optimizing your approach is crucial to handle larger datasets efficiently without timing out. The full problem and model solution require a subscription.
Coding QuestionsThe Trade DeskFind Maximum Greatness
3/5Explore array permutation strategies through this popular interview scenario featured by Twilio. The objective requires you to reorder a collection of numeric elements to maximize the count of positions where the newly placed value strictly exceeds its original counterpart. This exercise tests your proficiency with greedy algorithms, sorting logic, and efficient sequence comparison. Accessing the comprehensive problem statement, accompanying test cases, and clean model solution demands a subscription.
Coding QuestionsTwilioK Smallest Elements in an Unsorted Array
3/5Examine a classic sorting and selection challenge reported during technical interviews at Hudson River Trading, where you need to isolate a specific subset of minimal values from an unordered collection. To ensure deterministic validation, the resulting elements must be sorted in ascending order before delivery. This scenario evaluates your grasp of priority queues, partitioning algorithms, and memory-efficient data management strategies when handling large-scale numeric datasets. The full problem and model solution require a subscription.
Coding QuestionsHudson River TradingOrder Processing System
3/5In this Da Vinci Trading interview scenario, you are tasked with engineering a high-performance order processing system capable of ingesting financial exchange data feeds in real time. The goal is to efficiently maintain and query daily statistics, including total transaction volume, the top three largest purchase orders ranked by monetary value, and the optimal selling price at any given timestamp. Developing this solution requires balancing fast data retrieval with continuous stream updates. Unlock the complete challenge breakdown and expert implementation details with a subscription.
Coding QuestionsDa Vinci TradingEqual-Pairing Product Sum
2/5This MathWorks coding question presents an array manipulation puzzle where you must partition an even-length array into pairs. The core constraint is that every single pair formed must have an identical sum. If such a pairing is achievable, the task is to calculate and return the total sum of the products of elements within each pair. If no such valid pairing can be constructed, the function should indicate this impossibility. This problem often tests sorting, two-pointer techniques, and logical reasoning to identify valid pairings efficiently. The full problem description and a detailed model solution are available with a subscription.
Coding QuestionsMathWorksXRP Quote From USD Budget Using Sell Limit Orders (Partial Fills Allowed)
3/5Explore how to calculate the maximum amount of a cryptocurrency you can acquire given a specific cash limit and a collection of fluctuating market listings. This problem, frequently encountered in financial technology interviews at Ripple, requires determining the most cost-effective way to prioritize fractional asset purchases under strict monetary constraints. You will need to design an efficient algorithm that evaluates market listings and maximizes your acquisition volume without exceeding your available funds. Access to the comprehensive problem breakdown and the fully optimized model solution requires a subscription.
Coding QuestionsRippleUser Action Log Journey Summary
3/5Analyzing user behavior patterns through hierarchical data structures is a key competency tested in interviews at companies like Whatnot. This problem involves processing chronological activity logs to reconstruct individual user navigation paths and aggregating those journeys into an efficient prefix tree. You will be evaluated on your ability to combine sorting, grouping, and trie traversal algorithms to generate structured categorical outputs. Unlock the complete problem statement and step-by-step model implementation by subscribing today.
Coding QuestionsWhatnotFind All Unique Triplets Summing to Zero in Array
3/5Recapped from a Visa coding assessment, this popular algorithmic challenge asks you to discover all distinct combinations of three numbers within an integer collection that add up to zero. The task tests your mastery of sorting strategies, two-pointer techniques, and duplicate elimination in numeric arrays. You will need to design an efficient routine that avoids redundant configurations while scanning the dataset. Unlock the full challenge details and clean model implementation by obtaining a subscription.
Coding QuestionsVisaFinest Food Outlet (API pagination + filtering + tie-breaking)
3/5This Blink Health interview question evaluates your ability to interact with paginated remote endpoints, apply conditional criteria, and manage data sorting rules effectively. You will need to systematically retrieve records across multiple pages, evaluate specific attributes against thresholds, and handle tie-breaking logic to isolate the best candidate. Access to the complete problem description and model solution requires a subscription.
Coding QuestionsBlink HealthMaximize Happiness
4/5Tackle a complex hierarchical optimization challenge encountered during engineering interviews at Rubrik, where you select an ideal managerial subtree and a cost-effective team subset to maximize overall enterprise satisfaction within budget limits. This task blends tree traversals and knapsack-like constraints. Gain full access to the complete problem instructions and a professional implementation by subscribing.
Coding QuestionsRubrikPayment Reconciliation - Transaction Matching
3/5This Stripe technical interview puzzle focuses on financial ledger reconciliation, requiring you to pair transaction records across two distinct systems while accounting for time windows and discrepancies. It evaluates your competency in designing robust matching algorithms, handling missing data fields, and categorizing various types of data mismatches. To review the full problem specification and reference implementation, a paid subscription is needed.
Coding QuestionsStripeEvent Count Query over Timestamp Range
3/5In this Snapchat interview challenge, you are tasked with organizing a collection of unordered and repeating timestamp records to rapidly answer frequency queries over arbitrary temporal bounds. The exercise measures your ability to leverage sorting, binary search, or prefix sums to optimize repeated range lookups. To access the complete problem requirements, test suites, and model solution, a subscription is needed.
Coding QuestionsSnapchatMining Block - Fee-Maximizing Transactions
3/5This Coinbase interview question explores a variation of the classical knapsack problem applied to cryptocurrency ledger management, where you must select a subset of pending ledger entries to maximize total transaction fees within a strict weight constraint. The challenge evaluates your ability to apply a density-based heuristic strategy rather than exact dynamic programming to efficiently prioritize high-value payloads under capacity limits. To master the optimal algorithm, edge cases, and complete code implementation, access the full problem breakdown through our paid subscription.
Coding QuestionsCoinbaseMerge Two Sorted Lists
2/5Commonly encountered in Squarespace interviews, this fundamental problem requires combining two separately ordered singly linked lists into a single cohesive sorted sequence by rearranging their internal pointers. It examines your command of pointer manipulation, recursive logic, and iterative list traversal while handling edge cases such as empty inputs. You must construct the result efficiently without allocating unnecessary nodes. View the complete problem statement, test scenarios, and a clean model solution by obtaining a subscription.
Coding QuestionsSquarespaceChoose the Best Flask
3/5In this Observe.AI coding challenge, you are tasked with optimizing resource allocation for a robotic chemical delivery system. The problem presents a scenario where a single type of glass flask must be selected for an entire day's operations, fulfilling multiple chemical orders. Your goal is to identify the flask design that results in the least overall waste, calculated by the difference between the flask's fill mark and each order's requirement. This tests your ability to analyze data, perform calculations efficiently, and make an optimal selection based on given constraints. The full problem description and a detailed model solution are available with a subscription.
Coding QuestionsObserve.AIArrange Flower Sticks
2/5This introductory coding exercise, noted from an HSBC recruitment round, challenges you to reorganize a collection of numbered elements based on a specific dual-sorting criterion. Candidates must write an algorithm that partitions the sequence into two distinct segments, arranging the initial portion in ascending order and the remainder in descending sequence. It is a straightforward test of sorting fundamentals, array manipulation, and index management. Review the complete problem statement, input constraints, and optimized implementation details by securing a paid subscription.
Coding QuestionsHSBCMinimum Days to Release Updates
3/5This interview question, reported at Akuna Capital, challenges you to find the most efficient schedule for launching a series of software patches. Given primary and backup scheduling options for each item, you must determine the optimal timeline that minimizes the overall span while satisfying strict chronological constraints. This puzzle evaluates your algorithmic thinking, resource scheduling capabilities, and ability to handle optimization constraints effectively. Access to the comprehensive problem description, edge cases, and complete solution requires a paid subscription.
Coding QuestionsAkuna CapitalConsolidate Overlapping Ranges
3/5A coding question about turning an unordered collection of closed numeric ranges into the smallest set of disjoint ranges covering the same points. It checks handling of touching, nested, duplicate and unsorted ranges while leaving the caller's data unchanged.
Coding QuestionsNetflixLargest Team Whose Members Share a Common Office Window
3/5Optimizing interval overlaps to find specialized subsets is a demanding algorithmic problem frequently assigned in quantitative interviews at Citadel. This challenge requires you to determine the largest possible group of entities sharing a mutual temporal intersection point while adhering to strict performance constraints that penalize naive quadratic approaches. Success hinges on advanced interval processing and efficient data structuring to handle large datasets rapidly. Access to the complete problem text, optimal complexity breakdowns, and model solutions requires a paid subscription.
Coding QuestionsCitadelMaximum Concurrent Processes / Meeting Rooms
3/5This classic scheduling puzzle, commonly encountered in IBM technical interviews, asks you to determine the peak overlap among a collection of time intervals with closed boundaries. Whether framed as managing concurrent resource requirements or calculating minimum meeting rooms, you must track simultaneous events efficiently as time progresses. The core task evaluates your ability to handle overlapping temporal ranges and find the maximum cardinality at any single point. Access to the full problem breakdown and verified model code requires a subscription.
Coding QuestionsIBMMerge Two Sorted Arrays
2/5Mastering array manipulation techniques is vital for technical interviews, as demonstrated by this common sorting challenge frequently asked at Whatnot. The task evaluates your ability to combine two ordered collections efficiently within restricted memory constraints and without utilizing extra data structures. You will discover optimal in-place pointer manipulation strategies to achieve linear time complexity while maintaining proper sequence order. The full problem breakdown, algorithmic complexity analysis, and clean model solution are available exclusively with a subscription.
Coding QuestionsWhatnotFriendship String
2/5Featured in Rubrik software engineering evaluations, this string manipulation problem challenges you to transform a numeric sequence by selectively modifying and relocating digits to achieve the lexicographically smallest possible result. It evaluates your analytical thinking, string transformation techniques, and optimization under strict constraints. Unlock the complete problem context and detailed solution strategy with a subscription.
Coding QuestionsRubrikStudent Grade Processing (Subject Average, Filter, Top-K, Median)
3/5Mastering data manipulation and aggregation is essential for backend engineering interviews, as highlighted by this Adobe assessment. Candidates are asked to process a collection of academic records to compute subject-wise averages, apply conditional filters, extract leading performers, and determine statistical median values. This task evaluates your ability to handle complex data transformations efficiently using standard programming constructs. Access to the complete problem breakdown, optimal algorithms, and verified code solutions requires a paid subscription.
Coding QuestionsAdobeHFT Onsite Round 3 — Sort Complexity + Linux Fundamentals + tail(n) Design
4/5This reported Citadel onsite interview explores core computer science concepts through a rigorous oral examination spanning sorting algorithm efficiencies, underlying operating system mechanics, and practical systems engineering challenges like building an efficient file-tailing utility. Candidates must demonstrate deep mastery of performance trade-offs, memory management, and low-level kernel interactions under intense questioning. Access the complete problem breakdown and expert model architecture with a subscription.
System Design for MLCitadelPython Data Processing Task (Parse, Aggregate, and Validate)
3/5Read hardware test results from standard input, discard the failures, and report per-test pass counts and average latency in a specified order. This NVIDIA question is everyday data plumbing, and the marks are in the details: integer rounding of the average, stable ordering of the output, and malformed lines that must not crash the run. You will parse defensively, aggregate in one pass, and decide what an empty input should print. Subscribers can read the full problem and the reference program.
Coding QuestionsNVIDIATask Query by Time and Name Filter with Sorting
3/5Featured in Circle coding interviews, this challenge requires you to filter and order a collection of active records based on temporal constraints and text matching criteria. You must design an efficient filtering routine that evaluates items valid at a specific timestamp and sorts the output according to strict rules. This exercise tests your proficiency in data manipulation and sorting algorithms. Discover the full problem details and complete model code by purchasing a subscription.
Coding QuestionsCircleCompare Two Three-Card Poker Hands
2/5A coding question about comparing two fixed-size card hands under a complete category and tie-break specification. It tests careful rule translation, representation choices, and exact handling of special rank sequences and ties.
Coding QuestionsOpenAIAnagram Queries on Word List
2/5A coding question on answering many lookups against a fixed word list: for each query, return every listed word that uses exactly the same letters, in sorted order. Duplicates, case and queries with no match all have defined behavior.
Coding QuestionsGoldman SachsWho Rides Which Van
3/5A coding question on matching waiting riders to vans that follow fixed routes on a timed map. Each rider takes the earliest van that reaches them once they are ready and still passes their destination later on its route.
Coding QuestionsWhatnotBanking System with Spending Leaderboard
3/5A class-design question about an in-memory bank that creates accounts, applies deposits and transfers, and ranks accounts by the money they have sent. It tests careful validation order, consistent state after failed operations, and deterministic tie-breaking.
Coding QuestionsCoinbaseTop-K Largest Elements (Retain / Rank Stores)
2/5A coding question on selecting the best items from a collection. One function keeps the largest values in their original order while handling duplicates at the cutoff; the other orders records by a primary and a secondary criterion after dropping ineligible ones.
Coding QuestionsMicrosoftSort Distinct Integers 0..32000 with a Bit Vector
2/5A coding question on sorting a large set of non-repeating integers drawn from a small, known range while keeping the working memory far below the size of the input. It tests whether you can exploit the structure of the data instead of using a general-purpose sort.
Coding QuestionsMicrosoftDesign a Music Playlist History Store
2/5A data-structure design question on storing a timeline of timestamped events. The task covers adding records, listing them in time order with stable ties, and removing one exact record or all records of an item.
Coding QuestionsNetflixSort Target String by Custom Order
3/5A coding question on rearranging a string so that selected characters follow a caller-supplied sequence while all other characters stay unconstrained. It checks careful handling of repeated characters, characters missing from the sequence, and empty inputs. A subscription is needed to see the full statement and a model solution.
Coding QuestionsWaymoAttend Every Scheduled Meeting Without Overlap
2/5A coding question about deciding whether one person can attend a full day of scheduled meetings without any clash. It tests careful handling of edge cases such as empty input, identical entries, and entries that share only a boundary time.
Coding QuestionsNetflixAssign Chefs to Dishes to Maximize Profit
3/5A coding question about pairing workers of different skill levels with tasks of different difficulty so that the combined reward is as large as possible, even when many workers may take the same task.
Coding QuestionsDoorDashMinimum Conference Rooms for a Day's Schedule
3/5A coding question on scheduling shared resources for a set of time ranges. It tests how a candidate counts demand at the busiest moment and handles ranges that merely touch.
Coding QuestionsGoldman SachsMaximum Valid Team of Overlapping Employees
3/5A coding question about scheduling employees whose working hours are closed intervals. You choose the biggest group in which a single member's hours intersect everyone else's, under input sizes that rule out comparing every pair.
Coding QuestionsMicrosoft
Studied alongside
Sorting interview FAQ
- How many Sorting interview questions are there?
- 293 reported questions, mostly Coding Questions.
- Which companies ask Sorting questions?
- Amazon (89), Google (16), Snowflake (10), Meta (9), Uber (7), ByteDance (6), Roblox (6), Apple (6).
- How hard are Sorting questions?
- They average 2.8 out of 5: 4 at 1/5, 69 at 2/5, 196 at 3/5, 24 at 4/5.