Skip to content
Related Articles

Related Articles

Improve Article

Amazon Interview Experience | Set 230 (On-Campus For SDE)

  • Difficulty Level : Medium
  • Last Updated : 02 Jul, 2019
Geek Week

Recently Amazon visited our campus and take three rounds for final selection.

First Round: 20 MCQs, 2 Coding questions. Platform – HackerRank.

Coding Questions:

1.Print all possible words from phone digits

2.A question involving optimization using modified binary search(I do not remember the entire question).



A total of 10 students were selected after this round. The aptitude were simple but coding questions were time-consuming.

Second Round(technical):

The interviewer asked me three questions one after another.

First question:

1.print all permutations of a given string.

The interviewer asked me the approach only.

2.print a matrix in spiral order.

The interviewer asked me directly to code.



3.print the left and right view of a binary tree.

The interviewer asked me the approach but did not tell me to code.

It was an easy round and 5 students were selected for Third round.


Third Round(Technical):

1.Write a program to remove the whitespaces from a given string.
First i told him in o(n) time complexity and o(n) space complexity approach but he wanted o(n) time complexity with constant space complexity. I was unable to do it so he asked me second question.

2.Write a program to find the element which is common in all the rows in a two-dimensional array. I told him using binary search but he wanted more optimized approach but i was unable to do so.

I did not get selected but Overall it was a good interview experience.

I want to thank geeksforgeeks for such a good and amazing solutions to the back-breaking problems which helped me in the interview .

If you like GeeksforGeeks and would like to contribute, you can also write an article and mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Hey geek! It’s time to become a success story instead of reading them. Check out our most renowned DSA Self Paced Course, now at a student-friendly price and become industry ready. And if you are looking for a more complete interview preparation resource, check out Complete Interview Preparation Course that will prepare you for the SDE role of your dreams!

Feeling prepared enough for your interview? Test your skills with our Test Series that will help you prepare for top companies like Amazon, Microsoft, TCS, Wipro, Google and many more!

My Personal Notes arrow_drop_up
Recommended Articles
Page :