Uber Coding Interview Questions

These are the 65 Uber coding interview questions AceOffer has reconstructed from candidate reports, sorted by how often each was reported. OA: Minimum Edge Reversals So All Edges Point Away from a Root leads at 13×. Every question shows when it was last reported; the catalog refreshes monthly.

Part of the full catalog of Uber interview questions, covering every round.

AceOffer is not affiliated with, endorsed by, or sponsored by Uber. Questions are reconstructed from interview experiences candidates shared, not from Uber materials.

Key facts

  • •65 distinct coding questions indexed
  • •222 candidate reports across those questions
  • •Most reported: OA: Minimum Edge Reversals So All Edges Point Away from a Root — 13× (last seen May 2026)
  • •Refreshed monthly · last updated October 2026

Which Uber rounds ask coding questions?

Uber draws coding questions from the rounds below. Counts are distinct questions, not times asked.

LeetCode-style algorithms (Number of Islands I and II, Meeting Rooms II, a quad tree, squares of a sorted array) and object-oriented design (a parking lot, a meeting scheduler, an Uber Eats cart and pricing engine).26 questions

Most reported: Number of Islands I and II (Union-Find, Lands Added Over Time) — 12×

A coding screen: the first unique number in a stream, robots matching distances to the nearest blockers, the longest subarray within a limit, a hit counter, customer revenue with referrals, and Union-Find over ride logs.25 questions

Most reported: First Unique Number: Earliest ID Seen Exactly Once in a Stream — 10×

Algorithm problems: minimum edge reversals on a tree, a jump game with prime steps ending in 3, palindrome-rearrangeable paths in a tree, pipeline throughput under a scaling budget, and others, often reported under different names.14 questions

Most reported: OA: Minimum Edge Reversals So All Edges Point Away from a Root — 13×

Which Uber coding questions get asked most?

Sorted by candidate-report frequency. Click any question for the full breakdown.

QuestionRoundReportedLast seen
OA: Minimum Edge Reversals So All Edges Point Away from a RootOA13×May 2026
Number of Islands I and II (Union-Find, Lands Added Over Time)Coding12×September 2026
OA: Jump Game with Prime Steps Ending in 3FreeOA11×August 2026
First Unique Number: Earliest ID Seen Exactly Once in a StreamPhone Screen10×September 2026
Find Robots Matching Distances to the Nearest BlockersFreePhone Screen9×October 2026
Design a Parking Lot (OOD): Park, Unpark, Spot TypesFreeCoding9×October 2026
Longest Continuous Subarray with Absolute Difference at Most LimitPhone Screen7×July 2026
Design a Meeting Scheduler over a Fixed List of Rooms (Book, Cancel)Coding7×October 2026
Construct a Quad Tree from an Image (Any Values), Then Decode ItCoding6×June 2026
OA: Disk Storage, Count Palindrome-Rearrangeable Paths to the RootOA6×August 2026
Customer Revenue and Referral Tracking (Lowest K Above a Threshold)Phone Screen5×April 2026
Design Hit Counter / Expiring Counter Class (put, get_count, get_total_count)Phone Screen5×July 2026
Kth Smallest / Kth Largest Element in a BSTPhone Screen5×May 2026
Earliest Time All Riders Are Connected (Union-Find, Then Blocks)Phone Screen5×June 2026
Squares of a Sorted Array, Then the K-th Largest SquareCoding5×September 2026
Meeting Rooms II: Minimum Rooms, Room Assignment, Streaming IntervalsCoding5×October 2026
OA: Maximize Pipeline Throughput Under a Scaling BudgetOA5×June 2026
OA: Minimum Triggers to Absorb All Balls (Chain Attraction)OA5×June 2026
OA: Balanced Numbers in a PermutationOA5×May 2026
Word Search (LeetCode 79) and the Straight-Line, 8-Direction VariantPhone Screen4×July 2026
OA: Final Prices with a Special Discount (Total and Full-Price Indices)OA4×February 2026
Service / Task Dependency Graph: Cycle Detection, Build Order, Completion TimePhone Screen3×April 2026
Bus Routes (Fewest Buses from Source to Target)Phone Screen3×June 2026
Zero Array Transformation (Difference Array over Range Queries)Coding3×May 2026
Basic Calculator: Evaluate Nested add(a, b) / sub(a, b) CallsCoding3×May 2026
Rate Limiter: Token Bucket, Thread-Safe ImplementationCoding3×June 2026
Alien Dictionary (Topological Sort)Coding3×June 2026
Maximum Number of Points from Grid QueriesCoding3×May 2026
Minesweeper: Generate a Grid with N Random Mines, and Reveal on ClickCoding3×August 2026
OA: Purchase Optimization (Max Items from a Start Stall Within Budget)OA3×February 2026
N-ary Tree: Total Sum, Max Path Sum, and the Max Path NodesPhone Screen2×February 2026
Edge Length Limited Paths, Inverted (Every Edge >= k, Offline Union-Find)Phone Screen2×March 2026
Tournament Bracket: Simulate Rounds by Rank, Then Generate a Valid SeedingPhone Screen2×May 2026
Serialize and Deserialize a Binary Tree, Then an N-ary TreePhone Screen2×October 2026
Build a Directory Tree from Paths, Print It Indented, Find a File's Full PathPhone Screen2×September 2026
Robot Grid Path with Charging Cells (Fewest Charges, Then Battery, Then Moves)Phone Screen2×September 2026
Merge Step Functions (Add Two Timelines of Value Changes), Then K of ThemPhone Screen2×April 2026
Leftmost Column with at Least a OnePhone Screen2×June 2026
Open the Lock (Minimum Turns, BFS)Phone Screen2×May 2026
Letter Combinations of a Phone Number (10-Digit Input)Coding2×March 2026
Word Search II (Trie + Backtracking)Coding2×April 2026
Square Root by Binary Search (Integer, Then Floating Point)Coding2×April 2026
Best Currency Conversion Rate Between Two CurrenciesCoding2×August 2026
LRU CacheCoding2×June 2026
Longest Palindromic Substring (Odd-Length Variant)Coding2×April 2026
OA: Shortest Subarray with at Least K Distinct IntegersOA2×January 2026
OA: Minimum Knight Moves on an N x N BoardOA2×April 2026
Lowest Common Ancestor of Two NodesPhone Screen1×February 2026
Rotting Oranges (Virus Spread on a Grid)Phone Screen1×February 2026
Best Time to Buy and Sell StockPhone Screen1×March 2026
Vertical Order Traversal of a Binary TreePhone Screen1×March 2026
Next Greater Palindrome (Closest Palindrome, Greater Only)Phone Screen1×September 2026
Sort a Matrix into Snake Order Using Adjacent SwapsPhone Screen1×September 2026
Infected Houses in a Row: Count the Possible Infection OrdersCoding1×April 2026
Repeated Shortest Strictly Increasing Path Queries from the Top-LeftCoding1×September 2026
K Closest Points to a Rider (Heap, Quickselect, Moving Points)Coding1×August 2026
Cheapest Round-Trip Flight with Departure Before ReturnCoding1×August 2026
My Calendar I (Binary Search Booking and Cancellation)Coding1×November 2025
Binary Tree Longest Consecutive Sequence IICoding1×February 2026
Time-Based Key-Value Store, Then 1M Requests per SecondCoding1×March 2026
Uber Eats Cart and Pricing Engine (OOD): Customisations, Surge, Promotions, MembershipCoding1×March 2026
OA: Total Cost to Turn Every Substring into a PalindromeOA1×June 2026
OA: Minimum Operations to Reduce an Integer to 0 (Add or Subtract Powers of 2)OA1×January 2026
OA: Assign Tasks to Two Workers, the First Does Exactly K, Maximise RewardOA1×November 2025
OA: Minimum Delivery Cost Between Cities (Unique-Nearest Hop Costs 1)OA1×July 2026

Browse the full Uber catalog →

FAQ

How many coding questions does Uber ask?▾
AceOffer has reconstructed 65 distinct Uber coding interview questions from 222 verified candidate reports, each with the follow-ups candidates reported and a last-reported date.
What is the most common Uber coding interview question?▾
OA: Minimum Edge Reversals So All Edges Point Away from a Root — reported 13 times, last seen May 2026.
How fresh is AceOffer's Uber coding question data?▾
The catalog is refreshed monthly from new candidate reports, and every question shows when it was last reported.

Get the full Uber catalog

Every question, every candidate-reported follow-up, and what passers actually do. Monthly refresh.

Is this helpful?