Uber SDE2 Interview Prep – Curated from LeetCode Discuss (Recent 6 Months)
Hi,
I have gathered this data from leetcode discuss by spedning like 60 mins just wanted to save some time for the people who are preparing for Uber SDE2 Interview.
✅ Low-Level Design (LLD)
Parking Lot System – Design classes for vehicles, slots, floors, payment, entry/exit, etc.
Promotion Engine – Apply promotions/coupons on an order cart.
File System API Implementation:
mkdir – Create directories.
cd – Change directory with support for regex.
pwd – Print working directory.
Producer-Consumer System – Multiple producers/consumers across multiple queues.
Async Task Execution Library – Tasks with dependencies; determine execution order (Topological Sort).
Task Scheduler – Each task has an associated executable logic and run time.
Meeting Room Booking System – Assign rooms based on calendar events.
O(1) Cache – Design cache supporting operations in constant time (similar to LRU Cache).
✅ High-Level Design (HLD)
WhatsApp / Chat System
Stock Price Alert System – Notify users when price changes by X%.
Restaurant Dashboard:
Number of orders.
Top 3 ordered dishes.
Total revenue.
Stock Broker Alert System
Nearby Restaurant Finder
Stock Broker System – General design.
Webhook System – Endpoints, retries, deduplication, delivery guarantees.
Notification/Event System – Queues (Kafka/SQS), retries, idempotency, delivery guarantees.
✅ Data Structures & Algorithms (DSA)
Graph & Tree Problems:
Alien Dictionary (Topological Sort).
Currency Conversion (Weighted graph → BFS/Dijkstra).
Evaluate Division (Graph with weight mapping).
Dependency Graph Execution Order
Modified Number of Islands Problem
Number of Islands II – DSU optimization.
N-ary Tree: Longest Path with Non-repeating Characters
N-ary Tree: Arc Path from Bottom Left → Bottom Right via root.
Rotten Oranges – BFS traversal.
Valid BST
Kth Smallest Element in a BST
Lowest Common Ancestor of Binary Tree
Construct Binary Tree from Preorder & Inorder Traversal
LC Medium Problems on Trees
Array & DP:
Game Theory – Optimal Strategy with Array (Prefix sum/DP).
Making a Large Island – Grid + Union-Find/DFS.
Sort by Squared Values – Two-pointer technique.
Kth Largest Element – Heap/QuickSelect.
Longest Continuous Subarray with Absolute Diff ≤ Limit
Median of Two Sorted Arrays
Squares of a Sorted Array
Find All Words With Prefix – Trie with custom constraints.
Union-Find Optimization:
SetLand / IsLand / NumberOfIslands – DSU for O(1) query optimization.
✅ Hiring Manager (HM) / Behavioral Round
Topics Covered:
Current Role: Responsibilities, key projects, and tech stack.
Design Walkthrough: HLD diagrams via Excalidraw for a past project.
Behavioral Questions:
Why do you want to leave?
How do you mentor or collaborate with juniors?
Conflict resolution with colleagues.
Leadership during deadlines.
Taking ownership of unrelated/delayed projects.
If you got the offer by using the resource above and are thinking of joining Uber, please make sure to check out this LeetCode Discuss link first: DO NOT JOIN UBER :)


