Uber Coding Interview Questions
91 coding questions reported by candidates who interviewed at Uber, out of 106 Uber questions we track. They average 3.0/5 difficulty (medium). Most common topics: Array, DFS, Graph, BFS. 67 were reported asked within the last year, most recently in October 2026.
Practice Uber questions →Difficulty
- 1/5 — warm-up2
- 2/5 — easy15
- 3/5 — medium58
- 4/5 — hard14
- 5/5 — very hard2
Asked for SWE (89), MLE (8), RS (2), DS (1)
Reported Uber coding questions
Find Robot Position from Blocker Distances
3/5This spatial reasoning puzzle, featured in an Uber technical interview, requires finding specific robotic entities on a grid whose clearances to surrounding obstacles in all four cardinal directions match a given set of target measurements. It tests your ability to efficiently scan grid structures and calculate directional boundaries. The comprehensive problem description, optimal algorithmic approach, and complete tested solution are available exclusively to paid subscribers.
asked October 2026GridSimulationArrayCompare Two Structs / Classes for Equality
2/5This Uber reported interview question requires you to design a robust mechanism that compares two complex data structures or class instances to determine if they are identical. Rather than just writing code, the evaluation heavily focuses on clarifying edge cases such as value versus reference semantics, nested objects, floating-point tolerances, and potential reference cycles. It assesses your architectural thinking, requirement gathering, and deep understanding of object models. Access to the complete problem breakdown and expert model solution requires an active subscription.
asked June 2026Object DesignDeep EqualityTestingSerialize and Deserialize Binary Tree with N-ary Follow-up
3/5Prepare for this Uber engineering interview challenge by mastering custom encoding and decoding mechanisms for hierarchical data structures. This evaluation assesses your ability to write clean, executable code while designing robust representations that preserve node relationships. You will also need to formulate your own test scenarios to validate correctness under edge cases. Furthermore, a natural extension requires you to generalize your algorithm to handle nodes with an arbitrary number of descendants. Unlock the complete problem description and an expert-crafted model solution with a subscription.
asked June 2026TreeDFSParsingWord Break
3/5This reported Uber interview question evaluates your ability to determine if a given text can be completely partitioned using a provided vocabulary of terms. Candidates must efficiently evaluate whether valid combinations of dictionary elements can reconstruct the target sequence without leaving any leftover characters. This puzzle heavily tests fundamental string manipulation and dynamic programming paradigms. Access to the comprehensive problem breakdown and verified model solution requires an active subscription.
asked June 2026Dynamic ProgrammingMemoizationStringFirst Customer Who Visited Exactly Once
3/5Featured in evaluation rounds at Uber, this problem challenges you to process a real-time stream of visitor events while constantly identifying the earliest user who has appeared only once. You need to design a data structure that updates states and retrieves this unique visitor in constant time without performing costly scans. The scenario emphasizes efficient hash map designs coupled with doubly linked lists for constant-time tracking. Access the complete problem description and optimal solution by subscribing.
asked June 2026Linked ListHashmapStreamingNested Add/Sub Expression Evaluator
3/5This Uber interview question tests your ability to design a custom parser and evaluator for hierarchically structured arithmetic expressions containing nested operations. You must build a robust algorithm that handles operator precedence, whitespace variations, and function-style syntax without relying on built-in evaluation tools. The problem challenges your recursive parsing skills and understanding of grammar structures used in compilers. Read the full problem specification, edge case analysis, and complete reference solution with an active subscription.
asked June 2026RecursionParsingStringBus Routes (Minimum Buses to Destination)
3/5This Uber coding challenge asks candidates to figure out the fewest vehicle lines needed to navigate between two specific locations within a transit network. The task tests graph traversal capabilities, specifically treating transportation loops as nodes and connections as edges to find the shortest path. To unlock the complete problem context, constraints, and professional model code, a subscription is required.
asked June 2026BFSGraphHashmapNumber of Islands II (Dynamic Union-Find)
4/5Reported as an engaging interview challenge at Uber, this dynamic connectivity problem tracks the number of islands on a grid as water cells progressively transform into land. The task evaluates your ability to maintain connected components efficiently after each incremental update rather than recalculating from scratch. It heavily tests graph algorithms and advanced disjoint-set data structures for optimal performance. Explore the full problem breakdown and expert-crafted model solution with a paid subscription.
asked June 2026Union FindGridDynamic ConnectivityConstruct Quad Tree
3/5Explore a classic hierarchical matrix compression problem often featured in technical rounds at Uber. This question challenges your ability to recursively partition spatial data and construct a specialized tree structure based on uniform region values. Testing your grasp of divide-and-conquer algorithms and tree manipulation, the exercise requires careful handling of quadrant boundaries and node states. Discover the complete algorithmic approach, optimal implementation techniques, and full solution code by subscribing today.
asked June 2026RecursionDivide And ConquerTreeOnsite OOD: Multi-Level Parking Lot
3/5This classic Uber object-oriented design challenge requires building a multi-level parking lot system that accommodates various vehicle sizes and slot constraints while handling parking, unparking, and availability queries. It tests your ability to structure scalable classes, apply design patterns, and manage complex state logic. The full design requirements, extension prompts, and a complete model solution require a subscription.
asked June 2026OOP DesignData StructureOOD: Random Bingo Card Generator
3/5Tackle a practical system design and object-oriented programming challenge frequently reported during Uber onsite interviews, where you must dynamically generate a specialized grid game card. This exercise tests your ability to manage complex state constraints, probabilistic placement rules, and strict dimensional boundaries across rows and columns. Building a clean, modular solution requires careful class design and robust logic handling. Unlock the full architectural breakdown and comprehensive code solution by securing your subscription today.
asked June 2026OOP DesignSimulationSamplingMaximize Pipeline Throughput Within Budget
3/5Reported as an algorithmic assessment task from Uber, this optimization challenge centers on maximizing the overall capacity of a sequential processing workflow. Since end-to-end performance is bounded by the weakest link, you must judiciously distribute a limited monetary pool across various services to scale up their individual outputs. This problem tests your ability to apply greedy strategies or binary search techniques for resource allocation. Unlock the comprehensive problem details and efficient solution code with a paid subscription.
asked June 2026Binary SearchGreedyOptimizationLeftmost Column with at Least a One
2/5This reported Uber interview problem evaluates your ability to efficiently locate the earliest occurrence of a target element within a structured 2D grid using specialized interface restrictions. You will need to design an optimized search strategy that minimizes API lookups by exploiting the sorted nature of the rows. The complete problem statement and a fully verified model solution require a subscription.
asked June 2026Binary SearchTwo PointerMatrixOA: Jump Game with Prime-3 Steps
4/5Featured in an Uber online assessment, this advanced algorithmic problem builds upon classic path-finding challenges by introducing dynamic movement constraints based on prime numbers ending in a specific digit. Candidates must navigate an array containing both positive and negative values to maximize their accumulated score while adhering to strict transition rules. The problem evaluates advanced dynamic programming techniques and sliding window optimizations. Unlock the complete problem breakdown and the detailed model solution by purchasing a subscription.
asked June 2026ArrayDynamic ProgrammingMinimum Edge Reversals from Every Root
4/5Navigate complex tree transformations in this advanced graph problem reported during an Uber interview. You are tasked with finding an optimal root placement that minimizes edge direction adjustments to ensure reachability across all nodes. This problem tests advanced tree dynamic programming and rerooting algorithmic patterns. Access the full problem details and expert solution with a subscription.
asked May 2026DFSDynamic ProgrammingGraphLast-Click Attribution Tracker
3/5Reported during Uber phone screens, this system design coding task requires building an in-memory tracker that processes user actions and links conversion milestones to prior promotional engagements within a specific temporal window. Developers must design a robust API capable of handling chronological events efficiently while applying strict filtering rules based on timestamps and user identifiers. This problem evaluates data structure selection, state management, and real-time event processing capabilities. Access the complete architectural requirements, test cases, and model implementation by subscribing.
asked May 2026DesignHashmapBinary SearchFill Dashes with Nearest Letter
3/5Reported from an Uber backend screening interview, this puzzle requires updating a 2D board filled with symbols and blank slots by expanding valid characters into their immediate orthogonal neighbors. The secondary objective involves tie-breaking mechanisms based on alphabetical priority when multiple options are equidistant. This scenario tests your grasp of multi-source breadth-first search patterns and grid traversal algorithms. Unlock the complete problem specification and model solution by purchasing a subscription.
asked May 2026BFSGridMulti SourceMaximum Number of Points from Grid Queries
4/5Analyze a sophisticated graph traversal challenge frequently featured in assessment rounds at Uber, revolving around matrix pathfinding and threshold queries. Given a grid of numerical values and a list of target numbers, you must determine how many cells remain accessible from the origin under strict boundary limits for each query. This exercise assesses advanced graph traversal techniques, sorting optimizations, and efficient offline query processing. To view the complete problem details and optimal algorithmic solution, a subscription is required.
asked May 2026HeapBFSSortingTennis Rounds: Print Round Winners
2/5Simulate a competitive single-elimination sports bracket in this engaging coding challenge frequently asked during Uber technical interviews. The task evaluates your ability to manage arrays, perform round-by-round simulations, and handle hierarchical data pairing based on participant rankings. Additionally, it tests your capacity to construct structured seeding arrangements for balanced tournament trees. Gain full access to the complete problem analysis, edge cases, and clean model solution by obtaining a subscription.
asked May 2026ArraySimulationRecursionEarliest Time to Connect All Riders
3/5Solve a graph connectivity and temporal tracking challenge featured in technical interviews at Uber, where you must determine the precise moment a community of participants becomes fully unified. By analyzing chronologically ordered interaction logs, you will track relationship formations and evaluate network topology changes over time. This exercise tests your command over graph traversal algorithms, disjoint-set data structures, and handling time-series edge updates. Unlock the complete problem statement, follow-up scenarios, and expert solution with a subscription.
asked May 2026Union FindGraphConnectivityLongest Subarray With Bounded Difference
3/5Tackle a popular algorithmic challenge frequently featured in technical assessments at Uber, focusing on identifying the longest contiguous sequence within a numeric dataset where the variance between any pair of items stays within a specified threshold. This problem evaluates your proficiency with efficient sliding window techniques and data structures designed to track dynamic ranges under strict performance constraints. Mastering this puzzle helps sharpen your ability to optimize brute-force concepts into linear-time solutions. The full problem and model solution require a subscription.
asked May 2026Two PointerMonotonic DequeSliding WindowSeat Assignment (Exam Room without leave)
3/5This reported interview question from Uber requires you to implement a seat allocation class for a linear row of seats where occupants are permanently placed to maximize their distance from the nearest neighbor. The challenge simulates an exam room environment with no departures, meaning the occupied set continually grows over time. It tests your ability to maintain dynamic intervals and choose optimal positions efficiently using appropriate data structures. Gain full access to the complete problem text and expert solution through a subscription.
asked May 2026GreedySimulationSorted SetMerge Step Functions of (timestamp, value) Pairs
3/5In this technical interview problem reported at Uber, candidates are asked to combine two piecewise constant chronological functions into a single unified timeline. The task requires effectively traversing temporal intervals and managing overlapping segments to compute cumulative numerical updates efficiently. It assesses your proficiency with interval manipulation, sorting logic, and state tracking over sequential data streams. To explore the complete problem statement, optimal algorithmic strategy, and fully written reference code, a paid subscription is required.
asked May 2026Two PointerMergeDivide And ConquerMinimize a Black-Box Convex Function
3/5Reported during Uber engineering interviews, this advanced algorithmic challenge focuses on locating the minimum value of an expensive, hidden convex function while minimizing the total number of evaluations. You must construct an efficient optimization routine using iterative probing techniques to rapidly narrow down the search space within a specified tolerance, with follow-ups extending into multidimensional discrete domains. The complete problem breakdown, mathematical proofs, and model solution require an active subscription.
asked May 2026Ternary SearchConvexBinary SearchPhone Screen: Word Search on Straight 8-Direction Lines
3/5This classic interview prompt from Uber tests your ability to locate hidden words moving strictly along linear paths in a two-dimensional grid across all eight compass directions. You must design an efficient traversal strategy to verify whether a target sequence can be formed without turning. This challenge sharpens your matrix navigation skills and recursive search logic. Access the comprehensive problem specification and optimized code solution by purchasing a subscription.
asked May 2026ArrayStringDFSDesign Uber Eats Cart and Pricing Engine
4/5Mastering the architecture of a modern food delivery system is a common challenge in backend interviews, as highlighted by this popular Uber coding question. Candidates are asked to construct the core data models and service logic for a shopping basket and financial calculation engine. This task evaluates your capability to manage complex item customizations, apply modular promotional discounts, handle surge multipliers, and generate a detailed financial summary. Tackling this problem tests object-oriented design principles and extensible pricing logic. Access to the full problem description and expert model solution requires a subscription.
asked May 2026OOP DesignPricingConcurrencyDesign a Meeting Room Scheduler
3/5Master resource scheduling concepts with this practical design problem sourced from Uber interview rounds. You are asked to implement a room booking system that handles reservations, processes cancellations, and tracks the most recently scheduled appointments across multiple identifiers. This challenge tests your understanding of interval management, data structures, and efficient lookup algorithms. Gain access to the full problem text, edge cases, and a robust reference solution through a subscription.
asked May 2026OOP DesignIntervalsTreemapAI-Assisted Coding / Debug Round
3/5Experience a modern diagnostic and development round featuring an AI coding assistant, as recently reported in interviews at Uber. You are given a small full-stack application containing a subtle bug in a transaction flow, requiring you to isolate the failure, interpret stack traces, and prompt an AI collaborator effectively to fix it. This scenario evaluates real-world debugging workflows, integration testing, and collaborative problem-solving using AI tools. The complete problem statement and model solution require a subscription.
asked May 2026DebuggingAi ToolsCode ReadingML Coding from Scratch: Regression, Markov, Facility Location
4/5During this Uber machine learning onsite interview, candidates must build core modeling primitives entirely from scratch using only NumPy. The evaluation focuses on mathematical derivation, optimization mechanics, and fluent coding without relying on high-level framework abstractions. Engineers are tested on fundamental concepts underlying regression and probability models. Unlock the complete technical walkthrough, derivation notes, and production-grade solution by purchasing a subscription.
asked April 2026NumPyLinear RegressionLogistic RegressionRotting Oranges
2/5This classic grid-based simulation problem, frequently featured in Uber technical interviews, tests your proficiency with breadth-first search algorithms. You are given a matrix representing empty spaces, fresh produce, and spoiled items, where contamination spreads to adjacent cells at each time step. The goal is to determine the total duration needed to infect all reachable targets or identify if complete contamination is impossible. Unlocking the full problem description, algorithmic breakdown, and optimal code solution requires a subscription.
asked April 2026BFSGridMulti SourceKth Smallest Element in a BST
3/5Shared as a notable interview exercise at Uber, this question asks you to locate a specific ranked value within a binary search tree. Beyond the standard recursive approach, you will need to consider advanced constraints such as operating under strict memory limits and handling alternate order variations. This problem evaluates your deep understanding of tree properties, traversal techniques, and pointer manipulation. Unlock the comprehensive problem details and a thoroughly explained model solution with a subscription.
asked April 2026TreeBSTIn Order TraversalNumber of Islands (Plain and Streaming)
3/5Grid traversal and connected component identification are classic themes in technical evaluations, as seen in this reported Uber interview question. The objective is to compute distinct land masses within a matrix based on multi-directional adjacency rules, alongside a challenging dynamic update follow-up where terrain modifies iteratively. This problem tests your graph exploration abilities and proficiency with disjoint-set data structures to maintain real-time aggregates efficiently. Preparing for this scenario sharpens your algorithmic thinking for spatial data challenges. To view the full problem description and expert model solution, a subscription is required.
asked April 2026DFSBFSUnion FindShortest Subarray with At Least K Distinct
3/5This algorithmic challenge, frequently reported from technical interviews at Uber, requires you to find the most compact contiguous segment within an array of numbers that encompasses a specified variety of distinct values. The exercise tests your mastery of the sliding window technique and frequency tracking using hash maps under tight performance constraints. Access to the full problem description, complexity requirements, and the complete model solution requires a paid subscription.
asked April 2026Sliding WindowHashmapTwo PointerFinal Prices with Special Discount
3/5In this reported Uber coding challenge, you are asked to analyze an array of commercial values and determine promotional markdowns based on subsequent thresholds. The evaluation tests your ability to efficiently scan sequential data, compute cumulative totals, and track items that sell at standard rates. This scenario frequently appears in technical assessments to gauge stack or queue manipulation proficiency. Unlock the complete problem description and model solution by purchasing a subscription.
asked April 2026ArrayMonotonic StackNext SmallerMinimum Operations to Reduce N to Zero (±2^i)
3/5Solve a fascinating numerical optimization puzzle featured in recent technical screenings at Uber. The exercise requires determining the fewest steps needed to reach zero by repeatedly adding or subtracting powers of two from a large initial value. Unlock the full algorithmic approach and optimized source code by acquiring a subscription.
asked April 2026Bit ManipulationGreedyNafNumber of Ways to Wear Different Hats to Each Other
4/5Tackle a sophisticated combinatorial matching challenge reported in Uber coding interviews that evaluates advanced algorithmic reasoning. You need to compute all distinct assignment permutations ensuring that multiple participants each receive a preferred item without any duplicates, constrained by categorical preferences. This puzzle tests your proficiency with backtracking strategies optimized via bitmasking and dynamic programming. Unlock the comprehensive walkthrough and verified code solution by becoming a subscriber.
asked April 2026Bitmask DPCombinatoricsDynamic ProgrammingMinimum Knight Moves on Infinite Chessboard
3/5This engaging puzzle has been reported in coding interviews at Uber and tests your graph traversal capabilities on an infinite grid. The objective is to compute the shortest route for a standard chess piece to travel from a designated origin to a specific destination point. Solving this efficiently typically involves employing breadth-first search heuristics and coordinate geometry. The entire problem details and the accompanying model solution require a subscription.
asked March 2026BFSGraphMathToy Order Completion Rate and Root-Cause Analysis
2/5In this Uber interview scenario, you are tasked with analyzing transaction datasets to calculate fulfillment metrics and perform foundational root-cause investigations. The problem explores how to correctly define success rates, handle missing data, and guard against analytical edge cases within localized operational segments. This exercise assesses practical data wrangling and metric formulation skills. View the full problem guidelines and expert implementation by getting a subscription.
asked March 2026PandasData AnalysisMetricsDesign Hit Counter
2/5This frequently asked interview challenge from Uber requires building a specialized tracking mechanism to monitor user activity over a rolling time window of five minutes. Candidates must efficiently handle incoming events while providing accurate counts of past interactions arriving in chronological order. The task evaluates your ability to manage state and optimize time-based data structures under high-frequency streaming conditions. Access to the comprehensive problem description and optimal code solution requires a paid subscription.
asked March 2026DesignQueueStreamingActive 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.
asked March 2026IntervalsSweep LineSortingCustomer 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.
asked March 2026Data StructureOOP DesignTop KChecking 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.
asked March 2026Union FindGraphOffline QueriesPalindrome Ancestor Path Queries
4/5In this reported Uber interview challenge, you are tasked with analyzing hierarchical tree structures to evaluate character arrangements along ancestral paths. The problem tests your proficiency with tree traversal, string frequency counting, and efficient querying of path properties without incurring performance bottlenecks. You will explore how multiset character frequencies dictate palindrome feasibility from any node up to the root. Sharpen your graph traversal and data structure optimization techniques with this engaging puzzle. The full problem and model solution require a subscription.
asked March 2026TreeBitmaskPrefix SumSquares of a Sorted Array
2/5Sharpen your array manipulation skills with a popular technical screening challenge featured at Uber. Given a pre-sorted sequence containing both negative and positive integers, your objective is to generate a new collection of their squared values while preserving non-decreasing order in linear time. This problem tests your grasp of two-pointer techniques and efficient traversal strategies to bypass traditional sorting overhead. Access the comprehensive problem breakdown, complexity analysis, and complete reference implementation by upgrading to a paid subscription.
asked March 2026Two PointerArraySortingVertical 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.
asked March 2026TreeDFSSortingDesign a Time-Based Key-Value Store
3/5Engineering a versioned storage mechanism is a classic systems design challenge often featured in interviews at Uber. This task requires building a data structure capable of recording multiple entries under a single identifier across distinct temporal markers, while efficiently retrieving the most relevant historical state relative to a given point in time. It tests your mastery of data organization, search efficiency, and trade-offs between memory utilization and query performance. Access the complete problem walkthrough, underlying architectural patterns, and verified code implementation by securing your subscription today.
asked March 2026HashmapBinary SearchData StructureLetter Combinations of a Phone Number
3/5Practice this classic Uber interview question that requires generating all possible letter sequences corresponding to a sequence of numeric keypad digits. You will translate phone button mappings into combinations through systematic exploration and tree generation. The problem tests your recursive backtracking skills and invites comparative analysis with iterative generation strategies. Unlock the comprehensive challenge guidelines and a verified code solution by subscribing.
asked March 2026BacktrackingRecursionStringShortest Word Distance in a String Array
1/5Explore this frequent Uber technical assessment problem that challenges you to find the closest spatial separation between two specific words inside a collection of text strings. This task examines your ability to traverse sequences efficiently, maintain state pointers, and calculate linear intervals with optimal performance. It is a fantastic exercise for strengthening foundational scanning techniques used in text processing. Unlock the comprehensive explanation, edge-case analysis, and clean code solution by securing a subscription.
asked March 2026ArrayTwo PointerStringZero Array Transformation with Range Queries
3/5This coding problem, featured in interviews at Uber, asks whether a sequence of range-based decrement operations can completely reduce an array of integers down to zero. Candidates must efficiently process multiple overlapping update boundaries and determine if the cumulative constraints allow a successful transformation. The challenge tests proficiency in optimization techniques, prefix sums, and interval manipulation. Unlock the full problem details and complete model implementation by obtaining a subscription.
asked March 2026GreedyPrefix SumDifference ArrayAlien Dictionary: Recover Character Order
4/5This popular interview question frequently asked at Uber challenges candidates to deduce the precise alphabetical sorting order of an unknown dialect given a collection of chronologically ordered terms. It tests your proficiency with graph traversal algorithms, topological sorting, and cycle detection techniques on directed relationships. You will need to carefully extract precedence rules by comparing adjacent entries and build a coherent sequence. To view the comprehensive problem statement, complete test cases, and a fully explained optimal model solution, unlock the full platform subscription.
asked March 2026Topological SortGraphStringLowest Common Ancestor of a Binary Tree
3/5This widely encountered technical interview question, frequently reported during hiring evaluations at Uber, challenges candidates to locate the deepest shared node of two specific targets within a hierarchical tree structure. The exercise evaluates your grasp of recursive traversal and structural navigation without relying on heavy auxiliary memory. You will need to efficiently traverse branches while tracking lineage relationships to isolate the correct intersecting point. Access to the complete problem description, comprehensive test cases, and an optimal model solution requires a subscription.
asked February 2026TreeDFSRecursionShortest Bridge Between Two Islands
3/5Encountered frequently in technical screenings at Uber, this graph traversal problem requires you to find the absolute shortest path of transformed cells needed to physically connect two distinct isolated regions within a matrix. It tests your proficiency with breadth-first search algorithms, multi-source queue management, and grid-based state exploration. You will explore how to systematically expand outward from one territory until reaching the other while minimizing cost. Unlock the complete problem statement, underlying principles, and verified code solution with an active subscription.
asked February 2026GridBFSDFSWord Search II
4/5Navigating multi-directional character matrices is a staple of technical screenings, as featured in this classic Uber interview challenge. The objective is to efficiently locate and extract all valid vocabulary terms hidden within a two-dimensional grid of letters based on adjacent cell connectivity rules. Solving this problem requires pairing backtracking search algorithms with prefix tree data structures to prune invalid paths early and ensure fast execution. Review the complete problem breakdown, underlying algorithmic principles, and verified code solutions by upgrading to a paid subscription.
asked February 2026TrieDFSBacktrackingEvaluate Division
3/5In this classic coding interview question reported at Uber, you are given a set of proportional relationships between variables and must compute the outcomes of various division queries based on those known ratios. The exercise assesses your graph traversal skills, treating the variables as nodes and the given proportions as weighted directed edges. You will need to determine connectivity and calculate cumulative scaling factors dynamically. Read the entire problem statement and verified code implementation by joining with a subscription.
asked February 2026GraphDFSUnion FindMaximum Items by Budget with Prefix Sums
2/5Examine this practical optimization challenge reported from Uber technical interviews, focusing on efficient range queries over sorted data. The scenario requires you to maximize item acquisition under strict monetary caps starting from various positions in a sequence. Solving this problem successfully demands a solid understanding of cumulative tracking and handling large numeric values to prevent overflow. The full problem description and expert reference implementation are available exclusively to subscribers.
asked February 2026Prefix SumBinary SearchGreedyPermutation Prefix Balanced Subarray Check
3/5Encountered frequently in Uber technical rounds, this problem asks you to analyze a sequence of numbers to determine whether initial numerical subsets appear together as contiguous blocks. You will need to design an efficient algorithm that evaluates each length prefix and produces a binary outcome string. The task heavily tests your ability to optimize lookups over large permutations. Unlock the comprehensive problem description and optimal solution by subscribing today.
asked February 2026ArrayPrefix InvariantPermutationStairs vs Elevator Energy Trade-off
3/5In this Uber interview scenario, you are asked to optimize the energy expenditure and time trade-off of ascending a multi-story building using a combination of elevators and stairs. The puzzle evaluates your optimization techniques, mathematical modeling, and constraint handling as stamina depletes dynamically with each step. You must find the optimal split point that minimizes the difference between transit modes while keeping energy non-negative. Unlock the full challenge details and comprehensive solution with our paid plan.
asked February 2026Binary SearchSimulationGreedyCheapest Flights Within K Stops
3/5This classic Uber interview problem challenges you to find the most economical travel route between two locations across a network of directed flight paths while respecting a strict limit on intermediate stops. You must navigate graph traversal constraints to determine the absolute lowest cost or identify if a valid journey is impossible under the given restrictions. Mastering this exercise sharpens your proficiency with advanced shortest-path algorithms and constrained graph exploration. To view the full problem statement and receive a detailed model solution, subscribe today.
asked January 2026GraphShortest PathBellman FordSqrt(x) Rounded Down
1/5This Uber interview question focuses on implementing a fundamental mathematical operation without relying on standard library functions. Given a non-negative integer, your goal is to compute its square root and then round the result down to the nearest whole number. The key constraint is to achieve this calculation using only basic arithmetic operations, demonstrating your understanding of numerical approximation techniques. This problem effectively assesses your ability to devise an algorithm for finding integer square roots. The full problem description and a model solution are available with a subscription.
asked January 2026Binary SearchMathCount Palindrome-Formable Paths in a Tree
5/5As a challenging interview question reported from Uber, this task delves into advanced tree traversal and bit manipulation strategies. You must analyze hierarchical network paths to discover how many node pairs possess edge characters that can be rearranged to form a symmetric sequence. This problem evaluates deep recursive thinking and efficient state tracking. Access to the full problem description and the complete model solution requires a subscription.
asked January 2026TreeDFSBitmaskBinary Tree Longest Consecutive Sequence II
3/5Discover how to determine the longest unbroken sequence of adjacent values that differ by one within a hierarchical tree structure. Reported as an interview challenge at Uber, this problem evaluates your grasp of tree traversal techniques, recursive state management, and bidirectional path tracking. Candidates must handle both ascending and upward-downward transitions smoothly. Unlock the full problem description, algorithmic walkthrough, and optimal code implementation by upgrading to a paid subscription.
asked January 2026TreeDFSRecursionTop K Frequent Elements
2/5Featured frequently in technical assessments at Uber, this algorithmic challenge tests your proficiency with hash maps and frequency counting techniques. Candidates must analyze a collection of numeric values to isolate the most commonly occurring entries up to a specified threshold. Developing an efficient strategy demands a strong grasp of data structures and sorting optimization. The comprehensive problem statement and verified model solution require a subscription.
asked January 2026HashmapHeapBucket SortMy 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.
asked January 2026Data StructureIntervalsInterval 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.
asked January 2026ArrayIntervalsStreamingMaking a Large Island
4/5Discover how to maximize spatial connectivity by modifying a single element within a grid matrix, a classic algorithmic puzzle frequently featured in Uber technical interviews. This problem tests your expertise in graph theory, specifically connected components, breadth-first search, or depth-first search traversal strategies. You will learn how to efficiently compute region sizes and evaluate potential bridging points to merge adjacent clusters for optimal results. Strengthen your two-dimensional array manipulation skills and prepare for top-tier technical evaluations. The full problem and model solution require a subscription.
asked January 2026Union FindGridDFSIsomorphic Strings
2/5This Uber interview challenge tests fundamental string manipulation and mapping concepts by asking developers to verify whether two character sequences exhibit a one-to-one structural correlation. Candidates must ensure that transforming characters from one string yields the other while maintaining their original relative order without conflicts. The evaluation highlights efficiency in hash mapping and character lookup checks over large ASCII inputs. Access to the full problem statement and an optimized model solution requires a paid subscription.
asked January 2026StringHashmapService Dependency Topological Order
3/5Tackle a classic graph traversal challenge frequently reported during technical screenings at Uber. Candidates are tasked with determining the correct sequence for executing interconnected tasks while accounting for upstream dependencies and cyclical relationships. The exercise heavily emphasizes algorithmic efficiency, requiring precise justifications for both processing time and memory overhead. Unlock the complete breakdown, optimal algorithmic strategy, and fully annotated source code by upgrading to a paid subscription.
asked December 2025Topological SortGraphDFSRound-Trip Mission Schedule
2/5Featured in a classic CodeSignal assessment reported during Uber hiring, this scheduling challenge requires calculating the absolute earliest completion time for multiple round-trip journeys between two locations with fixed timetables. Candidates must efficiently simulate transit intervals and waiting periods using sorted departure timelines to minimize total duration. Mastering this scenario requires smart pointer manipulation and time-interval logic. Unlock the complete problem statement and optimal solution code with a subscription.
asked July 2025Two PointerSimulationBinary SearchBuild Blocks and Obstacles
3/5Process a mixed stream of commands that either plant an obstacle at a point on an unbounded line or ask whether a run of free space of a given length fits just before a point. This Uber question is about choosing the structure before the first command: the queries are about gaps, so storing obstacle positions in sorted order makes each answer a neighbour lookup. You will keep insertions ordered, answer each query against the nearest obstacle below, and reject a placement onto an occupied point. Subscribers get the full problem and the reference solution.
IntervalsArraysSimulationLongest Diagonal Pattern
3/5Find the longest run along a matrix diagonal that starts at one marker value and then alternates between two others without turning. This Uber question has four diagonal directions to consider and a strict alternation rule, which makes a per-cell dynamic-programming state the natural answer. You will define what the state remembers, scan in an order that has the predecessor already computed, and handle single-cell runs. A subscription unlocks the full problem and the model solution.
ArrayMatrixDynamic ProgrammingRobot Bounded In Circle
2/5Decide whether a machine following a repeated instruction string stays within some bounded area forever or wanders off indefinitely. This Uber question has a short answer with a real proof behind it: run the instruction set once, and the final heading plus the net displacement determine the outcome for all repetitions. You will track position and facing through one pass, and argue why four repetitions are enough to close any loop. Subscribers get the full problem and the model solution.
SimulationGeometryStringString to Digit Conversion
3/5Turn a number written out in English words into its digits, formatted for display. This Uber question is a parsing exercise with a vocabulary to design: units, teens, tens, and the scale words that multiply what came before them. You will accumulate partial values as the words arrive, apply scale words at the right moment, and decide where thousands separators belong in the output. A subscription unlocks the full problem and the reference solution.
StringsParsingMathDesign an Expiring Counter with Sliding Window
3/5Design a time-sensitive tracking mechanism in this practical data structures problem reported from Uber engineering interviews, built to monitor item frequencies within a moving temporal window. Your task involves maintaining valid records while discarding outdated counts efficiently through specialized class methods. This challenge tests your proficiency in combining hash maps and queues or heaps to handle high-throughput event streams with timestamp constraints. To view the complete implementation details and expert solution, please subscribe.
OOP DesignHashmapQueueCount the Number of Good Subarrays
3/5Count the contiguous stretches of an array that contain at least a required number of equal-value pairs. This Uber question is a sliding window with a monotone property worth stating out loud: once a window qualifies, every longer window starting at the same place also qualifies, so each left edge contributes a run of answers at once. You will maintain pair counts incrementally as values enter and leave, and keep the arithmetic within range for large inputs. Subscribers get the complete problem and the model solution.
ArraySubarrayHashmapRotate Image In Place
3/5This classic matrix manipulation challenge, frequently featured in Uber technical screens, asks you to rotate a square digital image by a fixed ninety-degree angle. The core test centers on your ability to perform spatial transformations in place without allocating extra memory matrices, requiring careful handling of layer boundaries and indexing logic to avoid off-by-one errors. Reviewing the complete problem description, step-by-step spatial diagrams, and the optimal coding solution requires an active subscription.
ArrayMatrixIn PlaceCompute the CDF from a Normal Distribution PDF
3/5Turn the bell curve's density function into cumulative probabilities at several query points, without a statistics library. Asked at Uber, this is a numerical-methods question: you choose between a series expansion, a rational approximation to the error function, and numerical integration, and you have to defend the accuracy of whichever you pick. You will standardise each query point, handle the far tails without losing precision, and state the error bound. A subscription unlocks the full problem and the reference implementation.
MathNumerical MethodsProbabilityNumber of Ways to Earn Points
3/5This Uber interview question tests your ability to calculate combinatorial possibilities using dynamic programming techniques. Given various categories of items with distinct point values and quantities, you must determine how many unique combinations sum up to a precise target score. The problem evaluates your understanding of knapsack-style state transitions and modulo arithmetic operations. Gain access to the complete problem statement and an optimal model solution by purchasing a subscription.
CountingDynamic ProgrammingKnapsackHighest-Paid Employee Name and Salary per Department
2/5Write a query that returns the top earner in every department along with their name. This Uber question is a classic group-wise maximum, and the naive join on the department maximum silently returns several rows when salaries tie. You will choose between a window function, a correlated subquery, and a join against an aggregate, and say how your version behaves on ties. Subscribers can read the complete problem and the reference query.
SQLAggregationGroup ByCount Ways to Reach a Sum
3/5Answer repeated questions about how many cross-array pairs reach a given total, drawing one value from each of two arrays. This Uber question is written as a story and reduces to counting with a frequency map, with the real decision being which array to index and which to scan. You will build the map once rather than per query, handle repeated values correctly, and keep the counts within integer range. Subscribers can read the complete problem and the reference solution.
ArraysPrefix SumQueriesFind Maximum Length
3/5Find the largest window length for which every window of that length sums to less than a threshold. This Uber question inverts the usual sliding-window objective: you are not looking for one qualifying window but for a length at which no window fails. You will exploit the fact that the property is monotone in the length, use prefix sums to test a candidate length quickly, and handle the case where even a single element exceeds the threshold. The full problem and the reference solution require a subscription.
ArraySliding WindowTwo PointersExclusive Time of Functions
3/5Featured in Uber technical screenings, this problem asks you to calculate the net execution duration for multiple routines running on a single processing unit based on sequential start and completion logs. The challenge tests your proficiency with stack-based data structures and timeline tracking, requiring you to properly isolate active processing periods from nested sub-calls. Access to the full problem description, edge-case breakdowns, and a verified model implementation requires a paid subscription.
StackSimulationParsingMatch Subarray to Pattern
3/5Count how many stretches of a number list follow a described shape of increases, decreases, and flat steps. This Uber question is stated loosely on purpose and is scored on whether your solution is efficient enough rather than optimal. You will reduce the list to a sequence of comparison signs, match the shape against it, and handle a shape longer than the list itself. Subscribers get the complete problem and the reference solution.
ArraysPattern MatchingSliding WindowK-th Employee Receiving Data
3/5Trace how information spreads through a reporting hierarchy and report who receives it at a given position in the order. This Uber question specifies the propagation precisely: a person is served first, then passes it to their reports in ascending identifier order, each doing the same. You will build the child lists from the manager array, traverse in exactly that order, and answer several queries without redoing shared work. A subscription unlocks the full problem and the reference solution.
TreeDFSBFSCount Ball Clusters on a Grid
3/5This Uber interview question explores spatial relationships by asking you to find the minimum number of isolated clusters formed by coordinate points on a grid based on a distance threshold and transitive attraction rules. You must compute connected components to determine how many separate chain reactions are necessary to sweep through all coordinates. It is a brilliant test of graph traversal and geometry algorithms. Full problem details and the complete model solution are available to subscribers.
Union FindConnected ComponentsGeometryRide-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.
ArraysSortingGreedyN-ary Tree Level Order Traversal
2/5This Uber interview question challenges your understanding of tree data structures and traversal algorithms. You are presented with an N-ary tree, which differs from a binary tree by allowing nodes to have multiple children, represented in a unique serialized format. The task is to process this structure and output its nodes grouped by their depth level. This problem assesses your ability to navigate complex tree structures and organize data according to their hierarchical position. Mastering this type of question is crucial for roles involving data organization and processing. The full problem and model solution require a subscription.
BFSTreeTree TraversalShortest Jumps in a Circular Array (Exact Left/Right Jumps)
3/5Find the fewest jumps from one position of a circular array to another, where each position forces a jump of its own length in either direction. This Uber question is a shortest-path search in disguise: the positions are nodes and each one has exactly two outgoing moves, so a breadth-first sweep gives the answer. You will handle the wrap-around arithmetic for both directions, mark visited positions to avoid cycling, and report unreachable targets. A subscription unlocks the full problem and the model solution.
ArraysGraphBFSSum of Scores of Built Arrays
4/5Add up the products of every array you could build by picking one prime from each of several given ranges. This Uber question looks like an enumeration and is really an algebraic identity: the sum over all choices factorises into a product of per-range sums, which collapses an exponential count into a linear one. You will need prime sums over ranges, so a sieve with prefix totals, and a range containing no prime must zero the whole result. The full problem and the derivation require a subscription.
MathCombinatoricsNumber TheorySliding Window Maximum
4/5Processing contiguous segments of data to extract local extremes efficiently is a classic algorithmic hurdle frequently featured in onsite interviews at firms like Uber. This task requires you to track peak values across a moving interval of a fixed length while maintaining linear time complexity across the entire sequence. Naive scanning approaches will fail performance benchmarks, necessitating advanced linear-time data management techniques. Candidates must demonstrate deep understanding of monotonic queues or specialized heap structures to handle edge cases smoothly. Unlocking the complete problem explanation and efficient model solution requires an active subscription.
Sliding WindowMonotonic DequeArrayFind Top Two Teams
3/5Rank football teams from their wins, draws, and goal records, then report the top two under the competition's tie-break rules. This Uber question is a multi-key sort where the keys have to be derived first: points come from wins and draws, and goal difference comes from the scored and conceded arrays. You will build one comparison key per team, apply the tie-breaks in the stated order, and return the identifiers rather than the scores. A subscription unlocks the complete problem and the reference solution.
Median of Two Sorted Arrays
5/5Conquer this advanced Uber reported interview question that challenges you to find the median value across two sorted numerical arrays in logarithmic time. This algorithmic puzzle tests your mastery of binary search partitioning techniques, boundary condition handling, and optimization beyond standard merging approaches. You will need to carefully manage odd and even combined length scenarios to ensure accurate mathematical output. The full problem specification and optimal code solution require a paid subscription.
Binary SearchArrayPartition
Recent Uber interview experiences
Full loops shared by candidates, every round included.
Uber coding interview FAQ
- What coding questions does Uber ask?
- 91 reported coding questions, most often on Array, DFS, Graph, BFS, Grid.
- How hard is the Uber coding interview?
- The reported coding questions average 3.0 out of 5: 2 at 1/5, 15 at 2/5, 58 at 3/5, 14 at 4/5, 2 at 5/5.
- Are these Uber coding questions recent?
- The most recent report is from October 2026, and 67 were reported within the last twelve months. Dates come from the interview reports themselves.