Uber Software Engineer Coding & Algorithms Interview Questions
Practice 118 real Coding & Algorithms interview questions for Software Engineer roles at Uber.

"I got asked a hardcore MCM DP question and I saw it on PracHub as well. Solved that question in 5 minutes. Without PracHub I doubt I could solve it in 5 hours. Though somehow didn't get hired, perhaps I guess I solved it too fast? /s"

"Believe me i'm a student here jn US. Recently interviewed for MSFT. They asked me exact question from PracHub. I saw it the night before and ignored it cause why waste time on random sites. I legit wanna go back and redo this whole thing if I had chance. Not saying will work for everyone but there is certainly some merit to that website. And i'm gonna use it in future prep from now on like lc tagged"

"10 years of experience but never worked at a top company. PracHub's senior-level questions helped me break into FAANG at 35. Age is just a number."

"I was skeptical about the 'real questions' claim, so I put it to the test. I searched for the exact question I got grilled on at my last Meta onsite... and it was right there. Word for word."

"Got a Google recruiter call on Monday, interview on Friday. Crammed PracHub for 4 days. Passed every round. This platform is a miracle worker."

"I've used LC, Glassdoor, and random Discords. Nothing comes close to the accuracy here. The questions are actually current — that's what got me. Felt like I had a cheat sheet during the interview."

"The solution quality is insane. It covers approach, edge cases, time complexity, follow-ups. Nothing else comes close."

"Legit the only resource you need. TC went from 180k -> 350k. Just memorize the top 50 for your target company and you're golden."

"PracHub Premium for one month cost me the price of two coffees a week. It landed me a $280K+ starting offer."

"Literally just signed a $600k offer. I only had 2 weeks to prep, so I focused entirely on the company-tagged lists here. If you're targeting L5+, don't overthink it."

"Coaches and bootcamp prep courses cost around $200-300 but PracHub Premium is actually less than a Netflix subscription. And it landed me a $178K offer."

"I honestly don't know how you guys gather so many real interview questions. It's almost scary. I walked into my Amazon loop and recognized 3 out of 4 problems from your database."

"Discovered PracHub 10 days before my interview. By day 5, I stopped being nervous. By interview day, I was actually excited to show what I knew."

"I recently cleared Uber interviews (strong hire in the design round) and all the questions were present in prachub."
"The search is what sold me. I typed in a really niche DP problem I got asked last year and it actually came up, full breakdown and everything. These guys are clearly updating it constantly."
Find the Cheapest Valid Round Trip
Implement cheapest_round_trip(outbound, return_fares, min_gap). outbound[i] is the fare for departing on day i, and return_fares[j] is the fare for re...
Assign Meetings to the Minimum Number of Rooms
Implement assign_meeting_rooms(intervals). Each interval is [start, end), so a room used by a meeting ending at time t is available to another meeting...
Find the K Closest Points to a Query Location
Implement k_closest_points(points, origin, k) for two-dimensional integer points. Return the k points closest to the query location origin. Rank point...
Last Truck to Leave a One-Dimensional Lane
Last Truck to Leave a One-Dimensional Lane Implement last_exit_time(lane_length, positions, velocities). Distinct trucks start at integer positions st...
Implement stream queries and bounded-difference subarrays
This question evaluates proficiency in data structures and algorithmic problem-solving, covering streaming uniqueness tracking (first-non-repeated ele...
Thread-Safe Token-Bucket Rate Limiter
Thread-Safe Token-Bucket Rate Limiter Design and implement a thread-safe rate limiter using the token bucket algorithm. The limiter is shared by many ...
Solve stock profit and vertical tree traversal
You have a 60-minute coding interview with two algorithm questions: 1) Max profit from one stock trade - Input: an integer array prices, where prices[...
Deep Equality of Two Records
This coding question tests a software engineer's ability to implement recursive structural comparison across nested, heterogeneous data types. It eval...
Shortest Path in a Grid with Blocked Cells
This question tests a candidate's practical grasp of graph traversal algorithms applied to 2D grid problems, specifically BFS for unweighted shortest-...
Solve Wonderful Strings and Grid Queries
This question evaluates algorithm design and data-structure competencies through two problems: a parity-constrained minimum-cost string transformation...
Design and Implement an LRU Cache
This question evaluates a candidate's ability to design and implement an LRU cache data structure with O(1) time complexity for both reads and writes....
Implement Minesweeper and Word Search
This multi-part prompt evaluates grid-based algorithmic skills, including randomized board construction with neighbor counting, straight-line pattern ...
Schedule Non-Overlapping Meetings Efficiently
This question evaluates understanding of interval scheduling and overlap detection, proficiency in selecting efficient data structures for dynamic ord...
Choose root to minimize edge reversals
This question evaluates understanding of directed versus undirected graph representations, tree rooting, and optimization of edge orientations, testin...
Kth Employee Reached in an Ordered Hierarchy
Kth Employee Reached in an Ordered Hierarchy Implement kth_recipients(boss, queries). Employees are numbered 0 through n - 1. boss[0] == -1; for every...
Minimum Delivery Cost Between Cities
Minimum Delivery Cost Between Cities Implement minimum_delivery_costs(delivery_charges, queries). There are n cities indexed from 0 to n - 1, and city...
Solve BST and Grid Query Problems
This question evaluates understanding of binary search tree order-statistics and grid reachability under threshold constraints, testing competencies i...
Determine Whether Queries Can Zero Array
This question evaluates competency in array manipulation, range updates, and feasibility under constraints, focusing on reasoning about sequential int...
Solve 12 coding interview problems
Below are multiple independent coding problems. --- Problem 1: Reduce an integer to 0 with \(\pm 2^i\) You are given a positive integer \(n\). In one ...
Group Anagrams
Group Anagrams Given an array of strings words, group together all strings that are anagrams of one another and return the groups. Two strings are ana...