Amazon | SDE2 | Sep 2021 | Reject | Pune, India
Anonymous User
820

Online Assesment:

1.https://leetcode.com/discuss/interview-question/1332322/amazon-online-assessment-july-2021-secret-array#:~:text=An%20array%20is%20said%20to,the%20following%20conditions%20are%20true%3A&text=The%20length%20of%20the%20array,length%20of%20the%20secret%20array.&text=Each%20integer%20in%20the%20array,interval%20%5BlowerBound%2C%20upperBound%5D%20.&text=If%20there%20is%20no%20array,the%20secret%20array%2C%20return%200

2.You can make 2 wheeler or 4 wheeler. Given number of vehicles, return no ways you can combine vehicles.If you cant use all wheels return -1
Eg if n == 8 return 3
You can have 2,4 wheelers
You can have 1,4 wheeler and 2, 2 wheelers
You can have 4 2 wheelers
Had to provide complexity and explanation for solutions as well.
Lots of leadership based questions

Round 1 : Coding round
Q. Give list of integers return last k distinct values. DS should support 2 operations
Add and fetch
Ans ; Use deque and dictionary {key:node}

Round 2 : Low level design
Q. Design bookmyshow
Interviewer was really only interested in entities nothing else.

Round 3 : High Level Design
Q. Design bookmyshow for india

Round 4 : Bar Raiser
Interviewer was very nice.Lots of questions on ALP.
LLD : Q. Design a movie rating aggregator system. System collects movie rating from various 3P rating providers then aggregates rating and vends out unified rating.

Leadership principles
When you had convince your peer about something he was not agreeing and how did you achieve it
When you received good or bad critical feedback . how did you reacted
When your system failed and what was reason and solution
When you went out of box for team and achieved something.

This was my first attempt, couldnt perform well in low level design round.

Comments (4)