I applied through college or university. I interviewed at Amazon
Interview
The interview stated with introduction of each panel member including myself , then they jumped directly onto coding question which was based on sliding window a i did that correctly and then second ques was based on anagrams i was not able to optimize my code for this problem.
Interview questions [1]
Question 1
no of subarrays having product less than or equal to k
I applied through college or university. The process took 5 days. I interviewed at Amazon (Bangalore Rural) in Sep 2023
Interview
was asked 2 questions on DSA. 1 hr interview ...They asked first to introduce myself and then asked these interview questions which were based on greedy , stack , and hashmaps
Interview questions [1]
Question 1
The first Question was if I have a string with characters of English Alphabets and #...where # denotes backspace then waht will be the final string
Eg. jdhje###nd#
ans whould be : jdn
I told them i can use stack butt she told me to optimize
and I optimized it by triversing from the end and counting hashes
Allowed me to craft my own question, solved merge sort and was accepted I was shocked. It was simple and was passed through. This was a while ago but highlights the randomness of the entire process.