Amazon SDE 2 Interview Experience | 4 Rounds | DSA + System Design
Difficulty: MEDIUMCategory: InterviewExperienceFrequency: 1Asked On 2025-02-15Added By Anonymous
Source: Link
Recently interviewed for amazon sde 2. These were the questions in different rounds.
R1 : Given an array 0s and 1s, and stream of q queries each containing {i,j}. A subarray from index i to j is called perfect subarray if it has only alternating 0s and 1s. For every query, return true if subarray for that query is perfect.
R2: LLD - Chess with features like history of all the moves
R3: HLD - Design a event booking system like BookMyShow
R4:
1.Make a copy of a linkedlist where we each node also stores pointer to next sorted node. (very similar to copy of linkedlist with pointers to random nodes)
2.Implement LFU cache with TTL
All rounds had atleast 2 Leadership Principle Questions as well.
Final Verdict : Rejected (LLD round feedback wasn't upto the mark)