Uber Coding & Algorithms Interview Questions
Practice 284 real Uber interview questions for 2026. Covers top categories — Coding & Algorithms, Analytics & Experimentation, Machine Learning, Behavioral & Leadership, Statistics & Math — across Software Engineer, Data Scientist, Machine Learning Engineer, and Technical Program Manager roles. Real questions from actual interviews with detailed solutions, focused guidance, and concrete interview preparation so you can practice the exact problem types Uber asks. Expect a coding-heavy loop for software engineering candidates: timed algorithm problems, online-assessment style OAs, and system-design tasks. For Software Engineer roles the recurring technical themes here are algorithm puzzles (kth-smallest-in-BST, knight/grid and reversal problems, prime-ending path counts), OA-style coding questions, and product-oriented design prompts such as a pickup-area driver queue and global nearby-restaurant search. Data Scientist questions center on membership/discount experiments, cold-start restaurant ratings and their launch evaluation, driver-acceptance modeling, and marketplace-impact analyses. Machine Learning Engineer prompts focus on completion-rate gaps, implementing attention and regression models, feed-ranking and restaurant-recommendation design, and pickup-location optimization. TPM items emphasize delivery-address fixes, competitive product comparisons, and leadership stories. Prepare by timing practice coding, rehearsing marketplace case studies, building short model write-ups, and polishing STAR examples for behavioral rounds.

"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."
Design a Parking Garage Object Model
Design an object-oriented model for a multi-level parking garage. The garage should support: - Multiple floors and parking spots. - Different vehicle ...
Design and Test a New Feature
You are interviewing for a Data Scientist internship at Uber. Assume the Uber rider app already includes standard functionality such as booking a ride...
Implement a Constant-Time Random Pool
Design a data structure RandomPool that stores unique integers and supports the following operations in average O(1) time: add(value), which inserts v...
Find a Black-Box Convex Function Minimum
You are given access to a black-box function F(x): each call returns the function value at a real number x. You are also given a search interval [a, b...
Compute time for virus to infect grid
You are given an m x n grid representing the state of individuals in a lab. - 0 = empty cell (no one) - 1 = healthy individual - 2 = infected individu...
Build a QuadTree From a Grid
Implement a compressed QuadTree for a square grid. You are given an n x n grid of values, where n is a power of two. The values are not limited to bin...
Design a meeting scheduler and shopping cart
You are asked to do two system-design prompts. Prompt A: Meeting Scheduler Design a meeting scheduling system (similar to a calendar + scheduling assi...
Find Any Available Meeting Room
You are given multiple meeting rooms. For each room, the existing bookings are represented as a list of non-overlapping time intervals sorted by start...
Find Kth Smallest in BST
You are given the root of a binary search tree and an integer k. Return the value of the node that would appear in the kth position if all node values...
Choose K pickup locations minimizing L1 distance
Coding: K Shuttle Pickup Locations (L1) You are given the coordinates of N people on a 2D grid. You want to open K shuttle pickup locations (pickup po...
Compute exclusive execution time from logs
Problem You are given execution logs from a single-threaded CPU that runs n functions labeled 0..n-1. The CPU can run only one function at a time. A f...
Find Earliest Full Connectivity Timestamp
You are given: - A list of all user IDs in a ride-sharing system. - A chronological text log of ride-sharing events. Each relevant event contains a ti...
Return a Package Build Order
You are given an API: `python get_dependencies(package) -> list[str] ` It returns the direct dependencies of a given package. If package A depends on ...
Find the Next Larger Palindrome
Given a positive integer n, return the smallest integer strictly greater than n whose decimal representation is a palindrome. A palindrome reads the s...
Find robots matching obstacle-distance signature
You are given a 2D grid and a distance signature dist = [left, top, bottom, right]. Grid Each cell is one of: - O : a robot - E : empty - X : obstacle...
Explain and test completion-rate gaps
In a food delivery marketplace, alcohol-related orders have a lower order completion rate than non-alcohol orders. Answer the following: 1. Propose se...
Compute sums and max path in N-ary tree
You are given the root of an N-ary tree (each node can have 0..k children). Implement the Node class yourself. Assume each node stores an integer valu...
Compute final prices with next smaller discount
You are given an integer array prices of length n, where prices[i] is the original price of the i-th item. For each item i, find the first index j > i...
Compute minimal time to finish dependent tasks
Coding: Task Scheduling With Prerequisites (Parallel Allowed) You have n tasks labeled 1..n. Each task takes exactly 1 unit of time to complete. Some ...
Describe your strongest project
What is the most impressive project you have worked on? In your answer, cover: - The problem/business goal and why it mattered - Your specific role an...