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."
Simulate and Construct Tournament Rankings
You are given a single-elimination tournament represented by an array of ranks. The array is a permutation of the integers 1..n, where a smaller numbe...
Print directory tree with indentation
You are given a root directory of a filesystem represented as a tree. Each node is either a directory (can have children) or a file (no children). Pri...
How would you evaluate UberEats growth?
You have just joined UberEats as a senior data scientist. The interviewer asks you to reason about marketplace health and causal impact. Answer the fo...
Design an object-oriented parking lot system
Design an object-oriented model for a parking lot management system. Requirements: - The parking lot has multiple levels; each level has multiple park...
Measure rider incentive causal ROI
Rider Incentive Targeting: Causal Incrementality, ROI, and Spillovers Context: You plan a rider‑side incentive (e.g., “20% off up to $10”) targeted by...
Evaluate business value of lower ETA
Uber wants to evaluate a marketplace intervention that reduces ETA, defined as the estimated number of minutes from a rider's request until the driver...
Implement Minesweeper and Word Search
Solve the following coding problems. Problem 1: Generate and Print a Minesweeper Board You are given integers rows, cols, and mineCount. Generate a ro...
Find minimum activations to absorb all balls
You are given n balls on a 2D plane, where ball i is at coordinate \((x_i, y_i)\). You are also given a distance threshold d. Two balls are considered...
Design an Uber A/B experiment end-to-end
Experiment Design: Pickup ETA Card Redesign Context: After a rider requests a trip, the app shows a pickup ETA card. The hypothesis is that clearer ET...
Move zeros to the front
Given an integer array nums, move all elements equal to 0 to the beginning of the array while preserving the relative order of all non-zero elements. ...
Answer leadership questions on tradeoffs and collaboration
Behavioral / Leadership Questions Answer using specific examples from your experience. 1. Project deep dive: Walk through a recent project end-to-end ...
Implement an expiring counter class
Expiring Counter (sliding time window) Design and implement an expiring counter that counts events in a recent time window. Requirements - You are giv...
Evaluate Marketplace Changes
You are a marketplace data scientist at a mobility and delivery platform. Discuss how you would evaluate the following product and algorithm changes: ...
Design a Rolling Event Counter
Design an in-memory rolling event counter. The counter should support two operations: - record(timestamp): record one event at the given timestamp, me...
Design a ride-hailing platform like Uber
You are asked to design a large-scale ride-hailing platform similar to Uber. Requirements Functional requirements - Riders can: - Sign up, log in, a...
Simulate robot on grid with obstacles
A robot starts at (0, 0) on an unbounded integer grid. You are given a sequence of commands consisting of characters U, D, L, and R, and a set of bloc...
Simulate one-round color elimination on a grid
Given an m x n integer matrix board where board[r][c] > 0 represents a color and 0 represents empty: ( 1) A nonzero cell at (r,c) explodes in this rou...
Explain XGBoost depth, regularization, and dropout
ML Conceptual Questions (Onsite) Answer the following: (a) Gradient-boosted decision trees: How does maximum tree depth affect bias/variance, overfitt...
Find leftmost point of maximum brightness
You are given an array of lights, where each light is [p, r] representing a lamp centered at coordinate p on the real number line with radius r, illum...
How would you build UberEats ranking?
UberEats wants to improve its recommendation or ranking system for restaurants shown to users on the home feed or in search results. Design the machin...