Online Assessment
Questions:
- 2 coding questions + a work style assessment.
- Note: The candidate felt they only passed about half the test cases for both questions.
Candidate's Approach
No approach provided.
Interviewer's Feedback
No feedback provided.
Round 1
Questions:
- 2 leadership principle (LP) questions:
- Deliver Results
- Learn and Be Curious
- LCA of Binary Tree III (Problem Link)
Candidate's Approach
The candidate got stuck on the LCA problem, confusing it with a different solution. The interviewer provided assistance, but it took time, leading the candidate to believe they failed the question. They felt their answers to the LP questions helped balance their overall performance.
Interviewer's Feedback
No feedback provided.
Round 2
Questions:
- 2 LP questions:
- Earn Trust
- Disagree and Commit
- System design for Amazon warehouses to prioritize truck deliveries.
Candidate's Approach
The candidate initially expected a large-scale system but realized the problem required handling only about 1k orders per day. After asking clarifying questions, they pieced together a design using a "top k" prioritization approach, though they felt they just added boxes and arrows without a solid structure.
Interviewer's Feedback
No feedback provided.
Round 3
Questions:
- 2 LP questions:
- Dive Deep
- Invent and Simplify
- Implement 2 APIs:
- One to track user visits.
- The other to return the first user to visit only once.
- Follow-up: return the first N users who visited only once.
Candidate's Approach
The candidate initially considered an ordered data structure but was guided by the interviewer towards an O(1) solution. They successfully implemented the code with minor help on the Remove method for the doubly linked list, resulting in a solution that combined a Doubly Linked List and a HashMap.
Interviewer's Feedback
No feedback provided.
Round 4
Questions:
- 3 LP questions:
- Ownership
- Customer Obsession
- Deliver Results
- Implement an unbounded set with expiration.
Candidate's Approach
The interview went 20 minutes over, and the candidate received an additional LP question. They designed a solution for the unbounded expiring set similar to a thread-safe cache with an expiration background process after clarifying the requirements.
Interviewer's Feedback
No feedback provided.