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 pickup-area driver queue
Design an internal service for a ride-hailing company that maintains a driver queue for each pickup area, such as an airport pickup zone or staging lo...
Design a Ride-Hailing ETA System
You are a Data Scientist at a ride-hailing company. Design an ETA system used in the rider and driver apps to estimate both pickup ETA and trip ETA. D...
Count Valid Infection Orders
You are given an integer n representing houses arranged in a line and indexed from 0 to n - 1, and a sorted array infected containing the indices of h...
Detect cycle in directed dependency graph
You are given a directed dependency graph representing services in a system. - There are n services, labeled from 0 to n - 1. - You are given a list o...
Implement a Referral Revenue Tracker
Implement an in-memory revenue tracking system for customers in a referral network. Each customer has their own direct revenue. A customer may also ha...
Solve BST and Grid Query Problems
Solve the following coding problems. Problem A: Find the kth largest value in a BST You are given the root of a binary search tree and an integer k. R...
Design an Uber feature and analyze safety
You are interviewing for a Data Scientist summer internship at a ride-sharing marketplace. Part A: Product case Uber wants ideas for a new rider-facin...
Choose root to minimize edge reversals
Problem You are given a connected graph with n nodes labeled 0..n-1 and n-1 directed edges. If you ignore directions, the edges form a tree (i.e., the...
Group strings that are anagrams
Given an array of strings, group the strings into lists such that each list contains strings that are anagrams of each other. Definition Two strings a...
Analyze Cancellation Change with Statistics
A/B change in cancellation rate (before vs after) Context: You are evaluating a small product tweak intended to reduce cancellations. Treat each trip ...
Describe Conflict and Impact
Prepare strong answers for the following behavioral and project deep-dive questions for a data scientist role: 1. Tell me about a time you went beyond...
Model Driver Acceptance Probability
Design a machine learning system to predict the probability that a driver accepts a trip or delivery offer. Your answer should cover: - the prediction...
Move zeros to front
Given an integer array nums, move all 0 values to the beginning of the array in place while preserving the relative order of all non-zero elements. Re...
Solve BFS and grid tasks
The coding rounds included several algorithmic problems: 1. Threshold search with binary search: You are given floors 1..n and an API canOperate(floor...
Return sorted squares of a sorted array
Problem You are given an integer array nums sorted in non-decreasing order. The array may contain negative numbers. Return a new array containing the ...
Implement Multi-Head Self-Attention
Implement a multi-head self-attention module in PyTorch without using torch.nn.MultiheadAttention. Requirements: - Input tensor shape: (batch_size, se...
Build and assess CTR prediction
CTR Prediction with Delayed Feedback and Extreme Class Imbalance You are building a model to predict the probability that an ad impression results in ...
Solve jump maximization and palindromic path queries
You are given two independent algorithmic problems. --- Problem 1 — Jump game with special destinations (maximize score) You are given an integer arra...
Design Rideshare Marketplace Causal Analyses
You are a data scientist at a ride-hailing marketplace. Answer the following case prompts as if you were advising product, operations, and marketplace...
Find earliest common meeting slot
Question Given the calendars of N attendees, find the earliest time window of length at least d minutes during which all attendees are simultaneously ...