Related Articles

# Amazon Interview SDE-1 (Experience- 1 year)

• Difficulty Level : Medium
• Last Updated : 30 Jul, 2019

Round 1: This round was online written test on hackerrank platform. There were two questions

1. Connect N ropes with minimum cost problem.
2. Given Two arrays, first array represents the forward distance and second return distance. There is a maximum distance dist. Find all the pairs (first number from first array, second number from second array) such that sum of the pair values is less than equal to dist (needs to find maximum possible sum pairs).  Note :- The sum of all the pairs should be same.  So try to maximize the sum.

For next round :- You are suppose to write code on the paper and they expect you to write the production level code and multiple test cases will be given to do dry run on the code.

Below are onsite interviews.

Round 2:

1. Tell me about yourself ?
2. Given A BST, decrease the value of node of even rank nodes by k, when you will do reverse inorder traversal(sorted in decreasing order)?
3. Given a circle and there are n flags on the circle boundary each flag have a index value and it’s length. And the flags do have a property F[i] > F[j] where i>j for every i and j. There is a number k( 0<=k<n), at index break the circle into the array, now find the minimum element in the array in O(log(n)) ?

Round 3:

3. Reverse a linked list in group of k. Solved this for all the possible corner cases.

Round 4:  This round was Hiring Manager round.

2. Any new initiative you took in your team?
3. Why do you want to join Amazon?
5. MVC in Angular?
6. Any challenge, you might have faced in your project?

Telephonic round :-

Round 5: This was Telephonic round, there was a shared interface, where I had to code.