Uber Backend - SDE II Interview Experience
Company: Uber
Role: SDE II
Interview Stage: Onsite
Location: unknown
Year: unknown
Original Post Content:
YoE: 5 years
Applied via: Referral
Applied for: SDE III
Interviewed for: SDE II
Screening Round (DSA):
The screening round was a 60-minute HackerRank-style OA.
Passed all test cases and was shortlisted for tech rounds.
Round 1 (DSA):
Started with a quick intro and moved into the problem directly.
Problem Statement (Modified Language):
You are given an array that contains each number between 1 to n exactly once.
Your task is to collect numbers from 1 to n in increasing order.
In each round, you go from left to right, picking up numbers in increasing order starting from where you left.
What’s the minimum number of rounds required to collect all the numbers?
I explained the greedy approach by tracking visited positions and current max, and implemented it cleanly. We discussed edge cases and possible optimizations.
There was a follow-up as well, discussed but didn't implement.
Round 2 (LLD):
LLD Question: Design a simplified Skip List
I took a few minutes to clarify requirements:
- Should support insert, delete, search
- Should have probabilistic height logic
- Performance goal: near-logarithmic time complexity
I explained the classes (SkipNode, SkipList), how levels are assigned using randomization, and implemented insert and search methods.
The interviewer was interested in how I’d test edge cases and simulate level growth. This round went well.
Round 3 (HLD):
This was the most open-ended round.
HLD Question:
Design an autocomplete system for an e-commerce platform, including:
- Category filtering
- Relevance ranking
- Partial matches
- Recent user queries support
- Fast retrieval at scale
I started with gathering core use-cases and user flows, then outlined a high-level architecture with:
- Trie + inverted index for text search
- Redis cache layer
- Kafka for query logs
- ML pipeline for suggestions ranking
- REST APIs and service-level flow
We dove into scaling the trie, distributed sharding, fallback strategies, and catalog syncs.