Uber Intermediate Coding Interview Questions
103 intermediate coding problems are tagged as asked at Uber in interviews and online assessments reported by candidates. By difficulty they split into 0 basic, 103 intermediate and 0 advanced. The topics they most often combine with are Array, String, Matrix, Math.
Reported questions change over time and are not a guarantee of what you will be asked, so use the list to see which patterns Uber tends to test. For each problem, practise explaining your approach, its time and space cost and the edge cases before you write the code; every problem opens in an editor that runs your code against test cases.
Coding problems
- Maximum Subarray (Intermediate)
- Longest Substring Without Repeats (Intermediate)
- Product of Array Except Self (Intermediate)
- House Robber (Intermediate)
- Coin Change (Intermediate)
- Kth Largest Element (Intermediate)
- Longest Consecutive Sequence (Intermediate)
- Subarray Sum Equals K (Intermediate)
- Container With Most Water (Intermediate)
- Decode Ways (Intermediate)
- Longest Palindromic Substring (Intermediate)
- Happy Number (Intermediate)
- Roman to Integer (Intermediate)
- Count Primes (Intermediate)
- Reverse Integer (Intermediate)
- Minimum in a Rotated Sorted Array (Intermediate)
- Merge Intervals (Intermediate)
- Insert an Interval (Intermediate)
- Subarrays Divisible by K (Intermediate)
- Maximum Points From Cards (Intermediate)
- Find K Closest Elements (Intermediate)
- Maximum Events Attended (Intermediate)
- Count Subarrays With Fixed Bounds (Intermediate)
- Minimum Knight Moves (Intermediate)
- Minimum Time to Complete Trips (Intermediate)
- Minimum Edge Reversals Per Node (Intermediate)
- Shortest Bridge Between Two Islands (Intermediate)
- Subarray Sum Equals K (Intermediate)
- Minimum Path Sum (Intermediate)
- House Robber II (Intermediate)
- Next Permutation (Intermediate)
- Container With Most Water (Intermediate)
- Top K Frequent Values (Intermediate)
- Longest Palindromic Subsequence (Intermediate)
- Shortest Path In Binary Grid (Intermediate)
- Is Bipartite (Intermediate)
- Course Schedule Feasible (Intermediate)
- Tree Vertical Traversal (Intermediate)
- Weighted Job Scheduling (Intermediate)
- LFU Cache Operations (Intermediate)
- Find Peak in 2D Grid (Intermediate)
- Hit Counter (Intermediate)
- Text Justification (Intermediate)
- Swap Nodes in Pairs (Intermediate)
- Kth Smallest Value in a BST (Intermediate)
- Binary Tree Right Side View (Intermediate)
- Linked List Components (Intermediate)
- Delete Node in a BST (Intermediate)
- Graph Valid Tree (Intermediate)
- Rotting Oranges (Intermediate)
- Surrounded Regions (Intermediate)
- Course Schedule Order (Intermediate)
- Cheapest Flights Within K Stops (Intermediate)
- Open the Lock (Intermediate)
- Detonate the Maximum Bombs (Intermediate)
- Smallest String With Swaps (Intermediate)
- Regions Cut by Slashes (Intermediate)
- Nearest Exit From Maze Entrance (Intermediate)
- Ones and Zeroes (Intermediate)
- Stone Game II (Intermediate)
- Minimum Score Polygon Triangulation (Intermediate)
- Two Keys Keyboard (Intermediate)
- Integer Replacement (Intermediate)
- Repeated String Match (Intermediate)
- String to Integer (Intermediate)
- Replace Words (Intermediate)
- Word Search (Intermediate)
- Number of Matching Subsequences (Intermediate)
- Basic Calculator II (Intermediate)
- Simplify Path (Intermediate)
- Asteroid Collision (Intermediate)
- Exclusive Time of Functions (Intermediate)
- Task Scheduler (Intermediate)
- Furthest Building You Can Reach (Intermediate)
- Find K Pairs With Smallest Sums (Intermediate)
- Smallest Number in Infinite Set (Intermediate)
- Maximum Number of Eaten Apples (Intermediate)
- Interval List Intersections (Intermediate)
- Valid Sudoku (Intermediate)
- Rotate Image (Intermediate)
Related
Frequently asked questions
How should I use the Uber problem list?
Start with the basic problems, then the intermediate and advanced ones, and note which topics repeat. Solve each under a timer, then read the explanation.
Are these the exact Uber interview questions?
They are problems candidates reported being asked. Companies rotate questions, so use them to learn the patterns, not to predict the exact question.