Top Uber Coding Interview Questions
Last Updated: 25 Mar, 2023
Filters
+ 25 more
+ 218 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
196
40
Easy
30 mins
4.4k
Find Number Of Islands
65
80
Moderate
34 mins
2.9k
Smallest Subarray With K Distinct Elements
75
40
Easy
20 mins
3.4k
Implement Trie
152
120
Hard
41 mins
8.5k
LRU Cache Implementation
49
80
Moderate
25 mins
3k
Valid Sudoku
268
80
Moderate
40 mins
4.1k
Longest Consecutive Sequence
110
80
Moderate
40 mins
16k
Right View
32
80
Moderate
35 mins
2.8k
Distinct Subsequences
40
80
Moderate
10 mins
1.7k
Execution Time
10
80
Moderate
15 mins
0.3k
House Robber II
111
80
Moderate
15 mins
29.1k
Algorithm to find best insert position in sorted array
35
40
Easy
10 mins
4.5k
Print Nodes at Distance K From a Given Node
14
120
Hard
20 mins
1k
Next Permutation
250
80
Moderate
15 mins
16.4k
Serialize and Deserialize Binary Tree
32
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
45
80
Moderate
50 mins
3.5k
Check N numbers
2
80
Moderate
10 mins
0.1k
Squares of a Sorted Array
41
40
Easy
15 mins
2.5k
Settle Debt
7
120
Hard
20 mins
0.2k
Binary Tree Cameras
12
120
Hard
50 mins
0.3k
Search In A 2D Matrix
66
40
Easy
10 mins
10.7k
Combination Sum
25
40
Easy
15 mins
2.7k
Roman Numeral To Integer
33
40
Easy
15 mins
2.8k
Implementation: HashMap
Easy
40
196 upvotes
Find Number Of Islands
Moderate
80
65 upvotes
Smallest Subarray With K Distinct Elements
Easy
40
75 upvotes
Implement Trie
Hard
120
152 upvotes
LRU Cache Implementation
Moderate
80
49 upvotes
Valid Sudoku
Moderate
80
268 upvotes
Longest Consecutive Sequence
Moderate
80
110 upvotes
Right View
Moderate
80
32 upvotes
Distinct Subsequences
Moderate
80
40 upvotes
Execution Time
Moderate
80
10 upvotes
House Robber II
Moderate
80
111 upvotes
Algorithm to find best insert position in sorted array
Easy
40
35 upvotes
Print Nodes at Distance K From a Given Node
Hard
120
14 upvotes
Next Permutation
Moderate
80
250 upvotes
Serialize and Deserialize Binary Tree
Hard
120
32 upvotes
Deepest Left
Moderate
80
8 upvotes
Add One to Linked List
Easy
40
14 upvotes
Check Bipartite Graph
Moderate
80
45 upvotes
Check N numbers
Moderate
80
2 upvotes
Squares of a Sorted Array
Easy
40
41 upvotes
Settle Debt
Hard
120
7 upvotes
Binary Tree Cameras
Hard
120
12 upvotes
Search In A 2D Matrix
Easy
40
66 upvotes
Combination Sum
Easy
40
25 upvotes
Roman Numeral To Integer
Easy
40
33 upvotes