Recently Amazon came to our college for both FTE and interns. Here I am sharing my interview experience. There was 1 online round and 3 F2F interviews and 1 Bar Raiser round.
Online round had 2 coding questions and 20 (MCQs based on sorting complexity, Recursion, quantitative aptitude , geometry etc).
He introduced himself and asked me about my project.
Then He asked me these questions
1. Find the maximum of all subarrays of size k.
I gave him a o(n*n) approach, then o(n*log(n)) approach using segment tree, then o(n*log(k)) using max heap and then o(n) approach using deque. He asked me to write the full production level code.
He asked the following questions
1. He asked me to make a dictionary in which i had to search a string and if it is not present , i had to insert in dictionary. Gave a o(n*log(n)) approach using map. He asked to optimize it , then gave a trie approach. He asked me to write full code for it.
2. He asked me, what is LRU cache and how it is implemented. Then he asked me to write the full production level code for it.
This interview was a design round as well as theoretical round.
1. Firstly, he asked me about my favorite subjects. I told him operating system. Then he asked me about process scheduling algorithms and then he asked me how will you allocate memory to a newly formed file. I told him about first fit, best fit and worst fit. He asked me what are the advantages and disadvantages of these.
2. Then he asked me a design question. Let’s say you have a 13 floor building and it has 6 lifts in it, you have to design an algorithm such that if a user click the lift button, any of the available lift should reach to him in minimal time.
3. Then he asked to give the design for top k trends of twitter of facebook. I told him that i’ll keep a trie for storing the count of the number of users associated with a particular trend and will keep this count in max heap and will extract top k trends.
Solution for design varies from candidate to candidate. so you should design your own solution rather than searching solution on google.
This was a Bar raiser round and it was telephonic. He asked about my project and we had discussion on it in detail . After 40 minutes he asked me to write the full production level code on implementing LRU using circular linked list. It was easy and i had done that in second round also, so i wrote the whole code and he was satisfied.
verdict: selected 😛
Thanks GeeksforGeeks !!
If you like GeeksforGeeks and would like to contribute, you can also write an article and mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above
- Amazon SDE-1 Interview Experience | Amazon WOW-2020
- Amazon Interview Experience SDE-1 | Amazon-WOW 2020
- Amazon Interview Experience (SDE-1, 8 month experience, Refferal)
- Amazon Interview Experience | Set 167 (SDE I for 1 year 6 months experience)
- Amazon Interview Experience | Set 241 (1.5 years experience)
- Amazon Interview Experience | 401 (3+Years Experience for SDE II)
- Amazon Interview Experience | Set 243 (2.5 Years Experience)
- Amazon Interview Experience | Set 391 (SDE-2, 5.5 years Experience)
- Amazon Interview Experience | Set 242 (1 Year Experience)
- Amazon Interview Experience (For Experience - 2.8 yrs) | SDE 1
- Amazon Interview Experience | Set 248 (4.8 Yrs Experience for SDE II)
- Amazon Interview Experience for SDE I
- Amazon Interview Experience for SDE-I
- Amazon Interview Experience | Set 148
- Amazon Interview experience | Set 335
- Amazon Interview Experience | Set 419
- Amazon Interview Experience | Set 420 (For QAE)
- Amazon SDE II Interview Experience
- Amazon Interview Experience | Set 422 (For SDE II)
- Amazon Interview Experience | Set 162