I applied through an employee referral. I interviewed at Amazon (Bengaluru) in May 2019
Interview
There are total 5 rounds. First round was online test and other are face to face discussions. Online test can be taken from home . After clearing it , I got invitation for face to face interviews.
Interview questions [5]
Question 1
1st round :
2 coding questions and 20 MCQ are given that was related to c,c++, OS and database.
After clearing first round , two coding questions asked .
1. find element in 2d matrix which is row wise and column wise sorted .
2. Print binary tree diagonally
3rd round :
One coding questions was asked.
In interview room , n seats are given . All are initially empty . People are coming . I need to allocate seats . And they want to seat as far away to each other as possible.
This I solved using queue.
Then modification in this question. Some people are already seated. Then I have to allocate seats .
4th round :
1. Project discussion
2. Array of characters is given . It has repeating characters. I need to find put kth unique element.
3. Implement a data Structure for operations push, pop and find min.
4. Behavioral question , can you work under pressure.
5th round :
1. Project discussion
2. Anything challenging in your project , you have done .
3. Have you got any feedback in last 6 months .
4. Anything you have learned by yourself in last 6 months .
5. Inheritance vs composition
6. Singleton pattern
7. Two sorted list given , merge them in place.