Uber Coding Interview Prep Plan: A Practical 4-Week Schedule
When an Uber recruiter reaches out, the instinct is to open the biggest problem list you can find and start grinding. Volume feels productive, but it rarely shows up in the room. What does show up is whether you can take an ambiguous prompt, pin down the requirements, pick a sensible approach, and write working code while explaining your reasoning.
This Uber coding interview prep plan is a four-week schedule for engineers who already write working code in at least one language. It targets skills candidates commonly report being evaluated on: correct medium-to-hard algorithms, practical data modeling, edge-case discipline, and clear narration. It does not claim insider questions or confidential rubrics. Formats vary by team, level, location, and year—confirm round types, length, and tooling with your recruiter.
Before week 1: confirm the format
Ask the recruiter these questions before you plan a single session:
- How many coding rounds are there, and how long is each one?
- Is there an online assessment or phone screen first?
- Which editor or platform is used, and can you run code?
- Is there a system design, domain-specific, or behavioral round at your level?
- Are there any language restrictions?
Candidates commonly report that Uber-style loops lean on practical problems—maps, schedules, graphs, and data that looks like real product logic—rather than pure puzzle trivia. Treat that as a weak signal. Treat what the recruiter tells you as the target.
The 4-week plan at a glance
| Week | Focus | Daily target (~90 min) |
|---|---|---|
| 1 | Core patterns, clean code, narration | 2 narrated problems |
| 2 | Graphs, grids, shortest paths | 2 problems + 1 re-solve |
| 3 | Practical modeling and follow-ups | 1–2 problems + follow-ups |
| 4 | Timed mocks, review, rest | 1 mock or 2 timed sets |
If you have more time, stretch weeks 1 and 2. Don't bolt on new topics at the end. Being reliable under observation beats knowing a little about everything.
Week 1: core patterns with narration
Do every problem out loud. Many candidates find the hardest part is not the algorithm but keeping a steady explanation while typing.
Cover these patterns:
- Hash maps for counting, grouping, and deduplication
- Two pointers and sliding window on arrays and strings
- Sorting plus a linear scan (intervals, overlapping trips, meeting rooms)
- Binary search on sorted data and on the answer space
- Heaps for top-k and "next earliest" questions
- Stacks for matching and monotonic patterns
Use the same five-step routine every time:
- Restate the problem in one sentence.
- Ask two clarifying questions (input size, duplicates, empty input, ties, mutability).
- State the brute force and its complexity.
- Improve it and explain why the improvement works.
- Dry-run one normal case and one edge case by hand.
Week 2: graphs, grids, and shortest paths
Ride-sharing products are built on maps, so it's no surprise many candidates report graph-flavored prompts. Even if your loop differs, these drills cover a large share of medium problems.
- BFS on grids and adjacency lists (unweighted shortest path)
- DFS with visited sets; connected components
- Dijkstra with a min-heap for weighted shortest paths
- Topological sort for dependencies and ordering
- Union-find for grouping and connectivity
- Multi-source BFS (for example, distance from the nearest driver)
Each day, re-solve one problem from week 1 without looking at your previous solution. If it takes as long as the first time, you memorized an answer instead of learning a pattern.
Week 3: practical modeling and follow-ups
Candidates often describe prompts that feel like product logic: matching riders to drivers, computing surge-like aggregates over time windows, rate limiting, or designing a small class with a few methods. Practice turning vague requirements into a data model before writing code.
After each solve, write three follow-ups and answer them in two or three sentences:
| Follow-up | Example | Talk about |
|---|---|---|
| Scale | Millions of events per minute | Streaming, bucketing, approximate counts |
| Real-time | Results must update every second | Incremental updates vs full recompute |
| Concurrency | Two requests claim the same driver | Locks, atomic operations, idempotency |
| API shape | Wrap logic in a reusable class | Clear methods, invariants, tests |
You don't need production-perfect answers. You need calm, structured tradeoff talk.
Week 4: mock like the real round
Run two or three full mocks with a peer, a platform, or solo with a timer and a recording. Match the format your recruiter described. A common 45–60 minute practice budget:
| Minutes | Activity |
|---|---|
| 0–5 | Intro, read, clarify |
| 5–12 | Brute force, then a better plan |
| 12–35 | Code while narrating decisions |
| 35–45 | Dry run, edge cases, complexity |
| 45+ | Follow-ups or your questions |
In the final 48 hours, stop learning new topics. Re-solve a few favorites, skim your error log, and sleep.
Keep an error log
Every time you get stuck, write one line: the problem, what went wrong, and the fix. Typical entries look like "forgot to mark visited before pushing to queue" or "heap stored the wrong tuple order." By week 4 this log is your highest-value review material.
Complexity without stalling
Say complexity without being prompted:
"Dijkstra with a binary heap is O((V + E) log V). Space is O(V) for distances and the heap."
If you're unsure, reason aloud: "Each cell enters the queue once, and each pop checks four neighbors, so total work is linear in the grid size."
Soft practice note
Most of this plan is timed, out-loud rehearsal. If you want a structured way to practice that loop and stay composed under pressure, Luna Interview is built for rehearsal and prep—before the interview, not as a way around the rules during one.
Day-before checklist
- [ ] Format, platform, and language confirmed with the recruiter
- [ ] Five-step routine feels automatic
- [ ] BFS, Dijkstra, and heap templates rehearsed
- [ ] Complexity sentence ready
- [ ] Error log reviewed once
- [ ] Behavioral stories prepared if the loop includes them
- [ ] Quiet room, charged laptop, audio checked
- [ ] Early night
Four weeks won't transform your career. They can make you a clearer, calmer candidate who shows how you think—and that's the part you control.
Rehearse with an AI interview copilot, then work through commonly reported Uber interview questions.