Top Uber Coding Interview Questions
Filters
+ 25 more
+ 25 more
Get ready for uber coding questions for the software engineer position. They cover a wide range of topics and are based on real-life programs. The answers to uber interview questions are explained in detail and will walk you through every fundamental idea behind it. Get started by practicing all the uber interview questions that have been asked earlier.
Problem Title
EXP
Difficulty
Avg Time to solve
Attempted
Implementation: HashMap
193
40
Easy
30 mins
4.3k
Find Number Of Islands
64
80
Moderate
34 mins
2.7k
Smallest Subarray With K Distinct Elements
74
40
Easy
20 mins
3.3k
Implement Trie
146
120
Hard
41 mins
7.8k
LRU Cache Implementation
46
80
Moderate
25 mins
2.9k
Valid Sudoku
261
80
Moderate
40 mins
3.8k
Longest Consecutive Sequence
104
80
Moderate
40 mins
15.1k
Right View
30
80
Moderate
35 mins
2.6k
Distinct Subsequences
39
80
Moderate
10 mins
1.7k
Execution Time
10
80
Moderate
15 mins
0.3k
House Robber II
101
80
Moderate
15 mins
26k
Algorithm to find best insert position in sorted array
33
40
Easy
10 mins
4.1k
Print Nodes at Distance K From a Given Node
13
120
Hard
20 mins
0.9k
Next Permutation
236
80
Moderate
15 mins
15.3k
Serialize and Deserialize Binary Tree
29
120
Hard
15 mins
1.2k
Deepest Left
8
80
Moderate
15 mins
0.3k
Add One to Linked List
14
40
Easy
10 mins
0.6k
Check Bipartite Graph
43
80
Moderate
50 mins
3.3k
Check N numbers
2
80
Moderate
10 mins
0.1k
Squares of a Sorted Array
38
40
Easy
15 mins
2.3k
Settle Debt
6
120
Hard
20 mins
0.2k
Binary Tree Cameras
11
120
Hard
50 mins
0.3k
Search In A 2D Matrix
63
40
Easy
10 mins
10.1k
Combination Sum
24
40
Easy
15 mins
2.4k
Roman Numeral To Integer
30
40
Easy
15 mins
2.6k
Implementation: HashMap
Easy
40
193 upvotes
Find Number Of Islands
Moderate
80
64 upvotes
Smallest Subarray With K Distinct Elements
Easy
40
74 upvotes
Implement Trie
Hard
120
146 upvotes
LRU Cache Implementation
Moderate
80
46 upvotes
Valid Sudoku
Moderate
80
261 upvotes
Longest Consecutive Sequence
Moderate
80
104 upvotes
Right View
Moderate
80
30 upvotes
Distinct Subsequences
Moderate
80
39 upvotes
Execution Time
Moderate
80
10 upvotes
House Robber II
Moderate
80
101 upvotes
Algorithm to find best insert position in sorted array
Easy
40
33 upvotes
Print Nodes at Distance K From a Given Node
Hard
120
13 upvotes
Next Permutation
Moderate
80
236 upvotes
Serialize and Deserialize Binary Tree
Hard
120
29 upvotes
Deepest Left
Moderate
80
8 upvotes
Add One to Linked List
Easy
40
14 upvotes
Check Bipartite Graph
Moderate
80
43 upvotes
Check N numbers
Moderate
80
2 upvotes
Squares of a Sorted Array
Easy
40
38 upvotes
Settle Debt
Hard
120
6 upvotes
Binary Tree Cameras
Hard
120
11 upvotes
Search In A 2D Matrix
Easy
40
63 upvotes
Combination Sum
Easy
40
24 upvotes
Roman Numeral To Integer
Easy
40
30 upvotes