Uber Basic Coding Interview Questions
36 basic coding problems are tagged as asked at Uber in interviews and online assessments reported by candidates. By difficulty they split into 36 basic, 0 intermediate and 0 advanced. The topics they most often combine with are Array, String, Hash Table, Dynamic Programming.
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
- Two Sum (Basic)
- Best Time to Buy and Sell Stock (Basic)
- Valid Parentheses (Basic)
- Move Zeroes (Basic)
- Climbing Stairs (Basic)
- Valid Palindrome (Basic)
- Valid Anagram (Basic)
- Sort Colors (Basic)
- Remove Element (Basic)
- Squares of a Sorted Array (Basic)
- Reverse Vowels of a String (Basic)
- Excel Column Number (Basic)
- Kth Smallest Pair Distance (Basic)
- Add Strings (Basic)
- LRU Cache Operations (Basic)
- Sliding Puzzle Solver (Basic)
- Reverse Linked List (Basic)
- Maximum Depth of Binary Tree (Basic)
- Number of Islands (Basic)
- Count Binary Substrings (Basic)
- Goat Latin (Basic)
- Min Stack Operations (Basic)
- Meeting Rooms (Basic)
- Valid Palindrome With One Deletion (Basic)
- Design Parking System (Basic)
- Number of Strings That Appear as Substrings in Word (Basic)
- One Edit Distance (Basic)
- Longest Subsequence With Limited Sum (Basic)
- Word Pattern (Basic)
- Palindrome Permutation Check (Basic)
- Merge Strings Alternately (Basic)
- Fixed Point (Basic)
- Distance Value Between Two Arrays (Basic)
- Final Prices With a Special Discount (Basic)
- Add Digits (Basic)
- Fizz Buzz (Basic)
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.