Uber Advanced Coding Interview Questions
44 advanced coding problems are tagged as asked at Uber in interviews and online assessments reported by candidates. By difficulty they split into 0 basic, 0 intermediate and 44 advanced. The topics they most often combine with are Array, String, Hash Table, Matrix.
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
- Longest Increasing Subsequence (Advanced)
- Trapping Rain Water (Advanced)
- Largest Rectangle in Histogram (Advanced)
- Longest Valid Parentheses (Advanced)
- Search in a Rotated Sorted Array (Advanced)
- Candy Distribution (Advanced)
- Minimum Window Substring (Advanced)
- Shortest Palindrome (Advanced)
- Reconstruct Itinerary (Advanced)
- Walls and Gates Distance (Advanced)
- Minimum Cost Tickets (Advanced)
- Binary Tree Maximum Path Sum (Advanced)
- Boundary of Binary Tree (Advanced)
- Remove Zero-Sum Consecutive Nodes (Advanced)
- Swim in Rising Water (Advanced)
- Alien Dictionary Order (Advanced)
- Shortest Distance From All Buildings (Advanced)
- Regular Expression Matching (Advanced)
- Burst Balloons (Advanced)
- Freedom Trail (Advanced)
- Longest Increasing Path in a Matrix (Advanced)
- Word Search II Count (Advanced)
- Basic Calculator (Advanced)
- IPO (Advanced)
- Sliding Window Maximum Values (Advanced)
- Median of Two Sorted Arrays (Advanced)
- Sudoku Solver (Advanced)
- Word Break II (Advanced)
- Exam Room (Advanced)
- Find the Safest Path in a Grid (Advanced)
- Collect Coins in a Tree (Advanced)
- Graph Connectivity With Threshold (Advanced)
- Minimize Malware Spread (Advanced)
- Minimize Malware Spread II (Advanced)
- Number of Ways to Reconstruct a Tree (Advanced)
- Painting a Grid With Three Different Colors (Advanced)
- Number of Wonderful Substrings (Advanced)
- Minimum Operations to Make Array Continuous (Advanced)
- Maximum Frequency Stack (Advanced)
- Maximum Subarray Min-Product (Advanced)
- Meeting Rooms III (Advanced)
- Number of Flowers in Full Bloom (Advanced)
- Minimum Sum of Squared Difference (Advanced)
- Put Marbles in Bags (Advanced)
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.