amazon virtual interview SDE1

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

Company: Amazon
Role: sde i
Interview Stage: Onsite
Location: unknown
Year: unknown

Original Post Content:

just did my interview on Nov19th. There are 3 rounds.

1st round is LLD+LP. He is most senior among all interviewers. He asked:
Implement Linux find command as an API. The API will support finding files that have given size requirements and a file with a certain format, like:

find all file >5mb
find all xml

Assume file class:
{
get name()
directorylistfile()
getFile()
}
Create a library that is flexible.
Design classes, interfaces.

2nd round is binary tree level order traversal and zigzag level order traversal.

3rd round is behavioral interview.

Comments