Amazon SDE1 Interview Experience

Difficulty: MEDIUMCategory: InterviewExperienceFrequency: 1Asked On 2024-11-28Added By Anonymous
Source: Link

Company: Amazon
Role: sde i
Interview Stage: Phone Screen
Location: unknown
Year: unknown

Original Post Content:

It was the round 1 of Amazon SDE1 interview, where I was asked to code LRU Cache Algorithm.

The interviewer asked the following questions:
1. First, he asked to reverse a Linked List.
2. Second, he asked about the reversal of the first k nodes of the list.
3. Third, he asked to reverse all the lists in groups throughout the list.

At last, he asked how I would implement an LRU Cache, after which he asked questions about LPs (Leadership Principles).

Comments