Round 1 : System Design + LP
Two questions on Customer Obsession and Earn Trust
Design Amazon.com search bar with most popular product as suggestion as you type.
Overall this round went well, i could talk about the LP. The LP session ran almost for 35 minutes and that left us only 20 mins for System Design. I gave him the basic product design, but he was more keen on how you would get the most popular keywords and he dived deep into that and was not happy with the solution i gave.
2nd Round (Bar Raiser)
Two LP Questions and then coding round for designing Calculator, given an expression solve the expression. I was able to complete the basic program for operators (+-/) and i explained him the solution. Overall round was good
3rd Round (Coding)
2 LP Question and then design two methods createDirectory and search Directory. For the first method the input was given as array of strings and for second method input was a string. For search you have to search for transformed word (like if the given word is hot then search for hit or hat in the directory and if its present return true otherwise return false.
I quickly coded this as i have practiced this on Leetcode and i was able to walk them through the sample input/output scenario.
Round 4 : (Logical and maintainable code)
2 LP and Design a raindrop simulator such that it calculates the number of drops required to completly wet sidewalk. The question was kind of ambiguous and interviewer was not clear about what he is looking for. He kept telling me that he is looking for a type level program, but i could not understand. I still designed two classes Sidewalk and CloudSimulator and created different methods and gave him the logic how its going to work.
2 days later, recruiter sent email that they decided not to go further and can't provide the specific feedback.
I was kind of positive as first 3 rounds were overall good, but got little upset after knowing the result.
Hope this will help someone in the future.