interval Interview Questions
31 interview questions in our bank cover interval, most of them Coding & Leetcode-style Questions. They average 2.9/5 difficulty — medium — and each one was reported by a candidate after a real interview. Companies known to ask about interval: DoorDash, JPMorgan, Amazon, Uber, Netflix, and 15 more.
Practice these on the problems board →Companies that ask about interval
Question mix
- Coding & Leetcode-style Questions31
Difficulty
- 1/5 — warm-up1
- 2/5 — easy6
- 3/5 — medium21
- 4/5 — hard2
- 5/5 — very hard1
Questions tagged interval
Shard Rebalance / Overlapping Key Range
3/5Solve a distributed systems puzzle focusing on dynamic range allocation and shard rebalancing, highlighted in recent engineering interviews at OpenAI. Your task involves maintaining a collection of keyed intervals, handling insertions and deletions, and executing a rebalance routine to cap maximum overlaps while minimizing data movement. This problem challenges your algorithmic thinking regarding interval sorting, gap filling, and efficient resource partitioning. Access the full problem details and expert solution architecture by subscribing today.
Coding & Leetcode-style QuestionsOpenAIMerge Intervals
3/5A classic algorithmic challenge frequently featured in Apple technical interviews, this problem asks candidates to combine overlapping numerical ranges into a unified, non-overlapping set of intervals. The exercise evaluates sorting techniques, linear scan logic, and boundary condition management to ensure all coverage requirements are met efficiently. It is a fundamental building block for interval-based scheduling and data organization tasks. To explore the full problem statement, complexity analysis, and clean model solution, a subscription is required.
Coding & Leetcode-style QuestionsAppleBatch Sorted Timepoints Under Capacity and Time Window
3/5This DoorDash interview question examines your ability to partition sequential timestamps into optimized batches under strict capacity and time window constraints. The task requires finding the minimal grouping configuration, often solvable through greedy strategies or interval scheduling techniques. It tests your proficiency with sorting algorithms and range queries. To access the detailed problem parameters and the complete reference solution, a paid subscription is required.
Coding & Leetcode-style QuestionsDoorDashExpanding Tennis Club Court Assignment
3/5This Atlassian interview question challenges candidates to optimize court allocations for a series of scheduled athletic bookings while minimizing overall resource usage. It evaluates proficiency in interval scheduling, greedy algorithms, and managing temporal constraints with varying operational buffers. Participants must design an efficient routine that handles overlapping schedules and scaling demands gracefully. Access to the comprehensive problem description, edge-case analysis, and fully optimized model solution requires an active subscription.
Coding & Leetcode-style QuestionsAtlassianMinimum Meeting Rooms Required for Overlapping Meetings
3/5Reported as an eBay coding interview challenge, this problem focuses on scheduling efficiency and resource allocation by determining peak overlapping intervals. Candidates must design an optimal strategy to calculate the maximum capacity needed simultaneously across a collection of time spans. Unlock the comprehensive problem breakdown and verified code solution with a subscription.
Coding & Leetcode-style QuestionseBayCode Craft: Dasher Pay via Mock Service API
3/5This DoorDash interview question simulates a backend integration scenario where you process earnings data retrieved from an external service provider. You are tasked with writing a core business logic function that computes total compensation based on active time intervals, while keeping your code decoupled from network dependencies through API mocking. The assessment evaluates your architectural design skills, separation of concerns, and ability to write testable code that gracefully interacts with third-party interfaces. The full problem statement and complete model implementation require a subscription.
Coding & Leetcode-style QuestionsDoorDashMy Calendar I
3/5This classic Uber coding interview problem requires you to design a scheduling assistant that records non-overlapping time intervals, ensuring that new booking requests do not conflict with existing reservations. It evaluates your ability to manage intervals dynamically and choose appropriate search structures for fast validation checks. The full problem text, validation criteria, and complete codebase solution require a subscription.
Coding & Leetcode-style QuestionsUberPolicy Violation Records Aggregation
3/5This Pinterest interview question requires building data aggregation logic over policy violation records to answer specific analytical queries regarding unique entities and date ranges. The core challenge involves handling duplicate identifiers effectively while filtering and grouping records based on flexible criteria. It tests your proficiency in data structures, query design, and efficient data processing. Unlock the complete problem description and expert model solution with a paid subscription.
Coding & Leetcode-style QuestionsPinterestMinimum 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 & Leetcode-style QuestionsJPMorganLight Sources
3/5This Trade Desk interview challenge invites you to analyze overlapping intervals representing illuminated segments on a linear axis. Your objective is to compute the total span of coordinates that receive illumination from precisely one source, filtering out dark zones and overlapping regions. The exercise tests your skills in interval scheduling, sweep-line algorithms, and coordinate compression. Access to the complete problem description, performance boundaries, and the verified model solution requires a subscription.
Coding & Leetcode-style QuestionsThe Trade DeskParty 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 & Leetcode-style QuestionsScale AIMerge Intervals (Interval Consolidation)
3/5This reported JPMorgan interview challenge tests your ability to process and combine sequential ranges efficiently. Candidates are given a collection of segments and must identify overlapping boundaries to produce a streamlined, unified collection. Success requires a solid grasp of sorting techniques and linear scan logic to handle edge cases where boundaries touch or intersect. Access to the comprehensive problem breakdown and verified code implementation requires an active subscription.
Coding & Leetcode-style QuestionsJPMorganDinosaur Speed: Time-Window Sensor Pairing
3/5This classic Meta production engineering interview scenario involves synchronizing timestamp streams captured by physical sensors positioned at a fixed distance apart. You must pair chronologically aligned events within a realistic threshold window to calculate velocity metrics for moving objects. The challenge tests your interval matching, sorting, and time-series data processing capabilities under performance constraints. Unlock the full problem guide and optimized code solution by subscribing.
Coding & Leetcode-style QuestionsMetaInterval List Intersections
2/5Interval manipulation and timeline overlap detection are key competencies tested in this Uber interview question, where you must compute overlapping regions between two collections of sorted time segments. This scenario evaluates your pointer-based traversal techniques and ability to handle edge cases in continuous numerical ranges efficiently. Optimizing for memory constraints through streaming data approaches further tests your advanced engineering capabilities. Unlocking the full problem details and professional implementation requires an active subscription.
Coding & Leetcode-style QuestionsUberMinimum Refueling Stops to Reach Target Planet (Full Tank at Stations)
3/5Reported from Numeric interview loops, this algorithmic puzzle challenges you to determine the fewest refueling stops necessary to navigate a spacecraft across a one-dimensional coordinate space to reach a destination planet. You must account for variable station locations, fuel consumption rates, and mechanisms that completely replenish your vessel tank upon stopping. Unlock the full challenge details and comprehensive solution by becoming a subscriber.
Coding & Leetcode-style QuestionsNumericMinimum Days to Finish Reading Chapters
4/5This Amazon coding challenge asks you to determine the minimum timeline required to finish reading a sequence of literary sections by systematically reducing page counts across adjacent blocks over multiple days. It tests advanced search techniques and greedy simulation strategies to optimize workload distribution. Access the full problem details and expert solution by subscribing today.
Coding & Leetcode-style QuestionsAmazonCode Craft: Dasher Pay
3/5Calculate total earnings for delivery drivers based on chronological shift logs in this popular DoorDash interview scenario. The exercise evaluates your ability to process time-series data accurately while accounting for overlapping assignments and active duration tracking. You will need to design an efficient routine that handles state transitions and computes compensation proportionally to workload density. Unlocking the complete problem specification and reference implementation requires a subscription.
Coding & Leetcode-style QuestionsDoorDashMaximum Concurrent Processes from Intervals
2/5Sharpen your interval processing skills with this popular concurrency puzzle often encountered in Amazon technical screens. The goal is to determine the peak number of overlapping operations running simultaneously across a shared timeline. This problem tests your ability to apply sweep-line algorithms and carefully manage endpoint boundary conditions. The comprehensive problem statement and fully explained model solution are available to subscribers only.
Coding & Leetcode-style QuestionsAmazonMinimum Replacements to Make Array Contiguous
5/5Conquer a complex array restructuring puzzle encountered in technical rounds at Amazon, where you must minimize bulk element replacements to ensure every distinct value forms a single contiguous block. This difficult challenge examines your grasp of graph connectivity, equivalence classes, and advanced greedy strategies. Read the complete problem statement and optimal algorithmic solution with a subscription.
Coding & Leetcode-style QuestionsAmazonText Highlighting / Citation Tagging
3/5This string-processing challenge, regularly utilized in technical interviews at Harvey, focuses on identifying and formatting specific lexical segments within generated prose based on external reference collections. The problem tests your aptitude for interval merging, text parsing, and hash-based lookups while handling overlapping regions and ranking frequencies. Unlock the complete problem context and optimal code implementation by subscribing.
Coding & Leetcode-style QuestionsHarveyMeeting Rooms: Can One Person Attend All
1/5Reported as a screening question at Netflix, this scheduling challenge asks you to determine whether a single participant can attend every scheduled event without any time conflicts. It evaluates your grasp of interval manipulation, sorting algorithms, and boundary condition checks. The core logic hinges on comparing start and end timestamps efficiently. To explore the complete problem description alongside a fully detailed model solution, you will need a subscription.
Coding & Leetcode-style QuestionsNetflixTest Run Status Monitor (Failing → Passing Windows)
4/5Design an efficient logging and monitoring system frequently encountered in Vanta technical evaluations to track system reliability metrics and incident recovery times. This problem challenges your ability to ingest sequential state change events and build high-performance query handlers that calculate recovery durations and identify peak periods of widespread service degradation. Success depends on optimizing your data structures for fast lookups over streaming inputs. Gain full access to the architectural guidelines and reference implementation with a paid subscription.
Coding & Leetcode-style QuestionsVantaMaximum 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 & Leetcode-style QuestionsIBMMerge Intervals
2/5A staple coding challenge frequently featured in Netflix interviews, this problem requires you to consolidate a collection of overlapping range segments into a clean, unified set. It tests your capability to sort structured data and maintain running boundaries to detect intersections efficiently. Mastering this pattern is essential for handling timeline and scheduling data structures. Unlocking the full problem requirements and the optimal model solution requires a subscription.
Coding & Leetcode-style QuestionsNetflixStreaming Interval Coverage on a Number Axis
3/5This real-time streaming challenge, featured in a Waymo software engineering interview, tasks candidates with tracking interval coverage along a continuous numerical axis. As coordinate events dynamically pollute fixed-width neighborhoods, the algorithm must efficiently maintain state and determine the exact moment the entire domain becomes fully saturated. The exercise tests interval merging techniques and streaming data structures. Unlock the full problem statement and complete model implementation with a subscription.
Coding & Leetcode-style QuestionsWaymoOO Design: Continuous Time Intervals from Two Timestamp Signal Streams
3/5This object-oriented design challenge was featured in a Waymo technical interview. Candidates must build a class that processes two distinct streams of timestamped signals to determine specific active time periods based on an underlying rule. The problem evaluates your ability to handle ambiguous requirements, structure clean APIs, and reason about temporal data streams efficiently. Access to the complete problem breakdown and expert model implementation requires a paid subscription.
Coding & Leetcode-style QuestionsWaymoProcess 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 & Leetcode-style QuestionsIBMCompress Consecutive Ranges
2/5This Cisco interview question challenges your ability to process an ordered sequence of numbers and identify contiguous segments. You'll need to implement logic to detect sequences where numbers increment by one, then represent these segments efficiently. Single numbers that don't form part of a longer sequence should be handled distinctly. This problem assesses your array manipulation skills and attention to detail in output formatting, making it a good test of iterative processing and conditional branching. The full problem and model solution require a subscription.
Coding & Leetcode-style QuestionsCiscoMerge 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 & Leetcode-style QuestionsWalmart LabsDisplay 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 & Leetcode-style QuestionsFigmaInterval Sign Flips
2/5Reported as a JPMorgan coding challenge, this problem requires you to systematically invert numerical signs across specified subarrays within a larger collection. Candidates must process multiple range operations efficiently, balancing straightforward simulation against optimized approaches like difference arrays for large datasets. This task assesses your understanding of interval manipulation and performance optimization techniques. Unlock the full problem details and expert model solution by obtaining a subscription.
Coding & Leetcode-style QuestionsJPMorgan
Studied alongside
interval interview FAQ
- How many interval interview questions are there?
- 31 reported questions, mostly Coding & Leetcode-style Questions.
- Which companies ask interval questions?
- DoorDash (3), JPMorgan (3), Amazon (3), Uber (2), Netflix (2), IBM (2), Waymo (2), OpenAI (1).
- How hard are interval questions?
- They average 2.9 out of 5: 1 at 1/5, 6 at 2/5, 21 at 3/5, 2 at 4/5, 1 at 5/5.