Uber Frontend Interview Experience
Compensation Range
--
How landed on the interview?
HR reached out through LinkedIn
Round 1: Online Assessment (OA)
An online assessment was conducted on the CodeSignal platform.
• ๐ฎ ๐ฐ๐ผ๐ฑ๐ถ๐ป๐ด ๐ฝ๐ฟ๐ผ๐ฏ๐น๐ฒ๐บ๐
• ๐ด ๐บ๐๐น๐๐ถ๐ฝ๐น๐ฒ-๐ฐ๐ต๐ผ๐ถ๐ฐ๐ฒ ๐พ๐๐ฒ๐๐๐ถ๐ผ๐ป๐
Round 2: Machine Coding
๐๐ถ๐๐ฐ๐๐๐๐ถ๐ผ๐ป ๐ผ๐ป ๐ฃ๐ฎ๐๐ ๐ฃ๐ฟ๐ผ๐ท๐ฒ๐ฐ๐๐
- Performance optimizations
- Challenges faced in previous projects
๐ ๐ฎ๐ฐ๐ต๐ถ๐ป๐ฒ ๐๐ผ๐ฑ๐ถ๐ป๐ด ๐ฃ๐ฟ๐ผ๐ฏ๐น๐ฒ๐บ
- Implement a ๐๐ฟ๐ถ๐ฑ ๐๐ถ๐ด๐ต๐ ๐๐ผ๐ with all possible edge cases.
Round 3: JavaScript/Framework
๐ฃ๐ฎ๐๐ ๐ฃ๐ฟ๐ผ๐ท๐ฒ๐ฐ๐ ๐๐ถ๐๐ฐ๐๐๐๐ถ๐ผ๐ป.
๐ฃ๐ฟ๐ผ๐ฏ๐น๐ฒ๐บ-๐ฆ๐ผ๐น๐๐ถ๐ป๐ด ๐ง๐ฎ๐๐ธ: Implement a memoization function for an asynchronous function.
async function getUserData(q, key, cb) {
fetch(`localhost:3000/get/users?query=${q}&key=${key}`)
.then(res => HTTPResponse(res, cb));
}
let memoFun = memoizeUserData(getUserData);
memoFun('test', 100, callback);
๐๐ผ๐น๐น๐ผ๐-๐๐ฝ ๐ค๐๐ฒ๐๐๐ถ๐ผ๐ป๐:
• How would you handle JSON input as a parameter?
• If two JSON objects have the same keys but in a different order, how would it work?
• If the above four API calls are made in parallel, will there be a single API call or all four?
Round 4: Frontend System Design
High-Level Design (HLD) of "๐๐ฉ๐ข๐ต๐ด๐๐ฑ๐ฑ ๐๐ฆ๐ฃ"
- Shared a screenshot of the current WhatsApp Web main page.
- Discussed chatting protocols.
- Explored API design, including functions, payload structure, and efficiency.
- Questions on pagination, caching strategies, and scalability.
Round 5: UI Technologies
๐ญ. ๐ฃ๐ฎ๐๐ ๐ฝ๐ฟ๐ผ๐ท๐ฒ๐ฐ๐ ๐ฑ๐ถ๐๐ฐ๐๐๐๐ถ๐ผ๐ป.
๐ฎ. ๐๐ฒ๐ต๐ฎ๐๐ถ๐ผ๐ฟ๐ฎ๐น ๐ค๐๐ฒ๐๐๐ถ๐ผ๐ป๐:
• How did you handle disagreements with a PM, designer, or colleague?
• Why do you want to join Uber?
• What improvements would you suggest for Uber?
• Other general behavioral and leadership-related questions.
Round 6: DSA
๐ฃ๐ฎ๐๐ ๐ฃ๐ฟ๐ผ๐ท๐ฒ๐ฐ๐ ๐๐ถ๐๐ฐ๐๐๐๐ถ๐ผ๐ป.
๐ฃ๐ฟ๐ผ๐ฏ๐น๐ฒ๐บ-๐ฆ๐ผ๐น๐๐ถ๐ป๐ด ๐ง๐ฎ๐๐ธ: ๐ก๐ฐ๐ฎ๐ฃ๐ช๐ฆ ๐๐ฑ๐ณ๐ฆ๐ข๐ฅ ๐ช๐ฏ ๐ข ๐๐ฐ๐ถ๐ฏ๐ต๐ณ๐บ
Given a matrix where:
- 2 - infected city
- 1 - vulnerable city
- 0 - uninhabitable land
- Every infected city spreads the infection to all adjacent cities (up, down, left, right) in one day.
Calculate how many days it takes to infect the entire habitable area.
Sample test case:
๐๐ป๐ฝ๐๐:
2 1 1
1 1 0
0 1 1
๐ข๐๐๐ฝ๐๐: 3 daysFinal Thoughts
Love this interview experience? Share it!
Help others discover this resource
