Amazon Interview Experience – Application Engineer

Round 1 – Written Coding(C++ or Java or Python) and Scripting(Perl or Unix or Ruby)(1 hour)


Given a number. Find next highest number with same set of digits

I/P – 12345
O/P  12354


Given an integer list. Output should be the product of next remaining digits
I/P – {1, 2, 3, 4, 5}
O/P – {120, 120, 60, 20, 5}



Script to change owner of a file
Script to grep “Amazon” “amazon” “AMAzon” from a given text file
Script to list the processes running in a server
One more question based on cut command


Round 2 – Face to face Programming(45 mins)

A program to spirally traverse a matrix

1  2  3  4
5  6  7  8
9 10 11 12
13 14 15 16

4, 3, 2, 1, 5, 9, 13, 14, 15, 16, 12, 8, 7, 6, 10, 11

Time complexity for the written program for above problem. Is there any better approach


Print a given list in a matrix in x form. list length is assumed to be always odd

1, 2, 3

1 . 1
. 2 .
3 . 3


A few questions about the project currently working on


Round 3 – Face to face scripting(45 mins)

cut commands, grep commands, awk commands
How will you make sure that an application is running fine. What all will you do to make sure of that. Asked about all steps in details and asked to write exact commands for each.


Round 4 – Manager round (1 hour)

In full detail about the current working project and tasks which you do. Next 20-30 mins about the project work which you say

2 to 3 scenario based question on how to handle specific situations

According to you, what are the top 3 issues you face in irctc website and a detailed approach of how will you handle it


Round 5 – Hiring Manager(1 hour)

Again, in full depth about the project currently working on.

Few java logical problems

Scenario based questions

How did you handle a situation where you had communication issues with a customer

All answers will be asked in depth. Like what approach did you make technically. How did it resolve it. How did you measure the success. What are other possible approaches


Write your Interview Experience or mail it to

My Personal Notes arrow_drop_up

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

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.

Article Tags :
Practice Tags :

Be the First to upvote.

Please write to us at to report any issue with the above content.