My interview loop experience:
1st round:
2 LP questions (I was prepared and I had the stories ready)
LLD - Design Amazon Locker
(Interviewer explained the constraints, locker and package sizes are S, M, L. A larger locker can be used if the right size is not available for a package. He also said that I need to write 3 classes. I wrote them in ~10 minutes, so he asked me write code to retrieve package by user too. User can enter a locker number and the package is removed from the locker. It took a couple of more minutes. He acknowledged that the code is right and then said we still have some time and had a nice off-topic conversation.)
2nd round:
2 LP questions (as expected, I was prepared)
(Interviewer first mentioned which LP is the question he was about to ask, and then asked the question. I had a sheet of all LPs and my stories against them. I could quickly scan my stories as he asked the questions. This was super helpful.)
coding - Jump game II & IV
(Started with jump game II, I wrote the code in ~5 minutes, he then tweaked the problem to jump game 4. I haven't seen this problem before. I took 10 minutes to write the solution. Interviewer then asked me whether the code I wrote reminds me of something. I said No. He then asked 'Does it look like DFS?' I said Yes, I did not realize it when he asked first.)
3rd round:
2 LP questions (He went too deep into one of my stories, I could explain in detail the low level technical details).
coding - Trapping rain water problem.
(I wrote the solution using prefix and suffix array in 10 minutes. Interviewer mentioned that even though this is O(n), I am accessing the arrays twice for each item in the input array. And asked me if I could avoid that. So I wrote the two pointer solution. While I almost finished the solution, he said that the approch is right and wanted to wind up.)
4th round:
2 LP questions
System design - Design a product that can consume near real time data from tens of thousands of devices and comute min/max values for consumers.
(one of the questions in the LP part was like 'tell me a situation where you have to fight to get something done at workplace'. I replied that I never had one. It was true. So he asked another question. So there were 3 LP questions. LLD was intentionally vague. I asked some clarifying questions, the interviewer answered. I started with DB design to store data. Interviewer said 'let's not do it', I asked many questions during the design and his answers to most of my questions were 'hmm.. yeah', 'yup, probabaly', etc. When I asked the the scale, he said 'it's entire Washington state'. He gave another vague answer when I asked annual growth rate, or future plans to expand the system. I asked if I should only focus on API design, he consfused me further with a similar answer. Sometimes he raised his voice that sounded rude, then suddenly smile at me. It was strange behaviour. I knew something was wrong, I had no clue what's going on. However, I drew the diagram and explained the design. I had a feeling that he wanted me to fail right from the beginning.)
I got an email in 3 days stating that I was rejected and my cool off period is 1 year. I asked if I only failed the System Design round, and for a detailed feedback, but no response.


