Amazon Interview Question for Software Engineer / Developers






Comment hidden because of low score. Click to expand.
4
of 4 vote

They will write their mobile numbers on it

- Ayush June 23, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
2
of 4 vote

both write "travel north"
both land and keep travelling north till they can travel no more.
meet at north pole :)

- xenon November 09, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
1
of 1 vote

Meet up at the airport where we started!!!

- Satish November 03, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

@Satish: Generalizing from above, if the first jumper knows if he's gonna get heaven of hell, he can convey this in the piece of paper and not open the parachute. Now based on what is written in the paper, the second jumper can either kill the diving instructor to reach hell or he can bequeath all his property to charity in order to reach heaven! -----> Learning: Give super troll solutions or don't try to go that side.

- Aryan March 26, 2012 | Flag
Comment hidden because of low score. Click to expand.
1
of 1 vote

Two people travelling through flight and not knowing where to meet must be elite commando .. and the amazon interviewer is the Man Vs Wild fan ..
else they write coordinate ... use some pre-historic pole star angle mechnism.. but best answer is to slap the interviewer..three life's can not depend on an insane mind (2 jumper and 1 interviewee)

- Amazon sales is going down this christman November 04, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
1
of 1 vote

instructions :
both will leave there parashute as they touch ground,
then both will walk in opposite direction of the plane with speed X (5 km per hour), when one find parashute, he will walk with double speed (10 km per hour).

- XXX November 19, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
1
of 1 vote

Exchange their phone numbers :P :p

- Abhish1 June 28, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

What instructions are allowed?
If there is no restriction then they can simply write that meet at the location specified by latitude and longitude.

- Anonymous November 02, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

I guess there is similar question in "how would you move mount fuzi". In the original question there are two robots than the human and both robot execute same program. And the program can be written using few allowed instructions.

- Anonymous November 02, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

I am thinking, maybe just the time of jump is needed. Now the other one can calculate the distance to walk back based on the plane's velocity (average). But he should know a way to find out velocity.

- Anonymous November 02, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Now after landing assuming all you have is your parachute and that the other person will be alive, and no sandstorms, no unexpected and disastrous events.
A feasible algorithm:
1. after landing leave your parachute and mark your name on it.
2. keep looking around your landing location in circles increasing radius. i.e. cover a circle area of 100 meters and go back to parachute location, then cover a circle area of 200 meters and go back to parachute location. cover a circle of 300 meters and go back to parachute location.
3. If found a different parachute while searching person1 stops at that location and person2 will always come back to his parachute.

- chennavarri November 02, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

If a reached b's parachute and b reached a's parahute .. then ??

- Ashu December 03, 2010 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

uhhhhh....a classic deadlock eh? I could not stop laughing as soon as i read your comment....bravo...it was so elegent that it would get merit in any TV sitcom

- veeru December 16, 2010 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

Add additional condition, if they find the other persons parachute, they travel back and forth between the parachutes and during this process both can meet up sometime within that distance! :)
Deadlock resolved.... :)

- Cuppanomics January 11, 2011 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

wouldn't it be better if only one person traverse circular path and the other just stays there :P

- vaibhavbright November 03, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

They write:
"I should have bought Kindle, it is boring to die in a desert alone. Hail Amazon!"

- Anonymous November 02, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Or "meet at hell!"

- Astrologer November 03, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Ctrl + Z

- Anonymous November 04, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

{http : / / www . youtube . com/ watch ?v=6unDcYBQSpQ&feature=player_embedded}

- rammstein November 07, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

"to the left to the left to the right to the right". man Tootsee Roll sucks

- Synonymous November 10, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

the strategy should be..one walks in the direction of the flight and the other opposite of the flight's direction. and they should write their strategy and direction before jumping... :)

- Anonymous November 17, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

suppose if the flight changes its direction and retraces its path after the first one landed ,both ll move in a opposite direction and they ll never meet na????

- wobra December 13, 2010 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

Little change to chennavarri solution.

One person will stay at it's starting position and other will move in circles around it's starting point by increasing radius by certain amount till he finds first person.

- RKC January 05, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

A will write on paper and give it to B, saying that before jumping i will shout loudly then you also jump immediately

- Anonymous January 12, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Or else, they write saying that we will jump combined... because the question is to jump in random location at any place but not they jump at random period of interval.

- Anonymous January 12, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

they will write as the one jumps first will walk towards east and the one jumps second will walk towards west.

they will meet at some point.

- Anonymous February 04, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

A should walk towards the direction the AirPlane went. B should start walking towards the direction plane came from. I guess while in parachute u can see the plane moving.

- unicorn February 19, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

A should walk towards the direction the AirPlane went. B should start walking towards the direction plane came from. I guess while in parachute u can see the plane moving.

- unicorn February 19, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

'A' writes on paper "Move east and wait at the first city police station you will get into"

Now, if 'A' has jumped at any location (whether it is far or near from the first city in the East direction), he need to walk till he gets the city place and whenever 'B' will jump he also needs to travel for the city located in east direction.

- timepass March 07, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

damn!!!!
when they jump,they are not blind,they can see what direction the other one went,atleast for a while.When they land they keep moving in that direction .

Q:how did Surveyors draw maps of earth when there was no airplanes/satelites in the days of vasco da gama and Columbus.

- Colombus March 14, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

hey, what will happen if the desert is vry large nd plane is gets very far as now other person cannot see it and at that time it changes the direction nd then other person jumps...ur solution will not work here!

- Anonymous March 16, 2011 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

hey, what will happen if the desert is vry large nd plane is gets very far as now other person cannot see it and at that time it changes the direction nd then other person jumps...ur solution will not work here!

- timepass March 16, 2011 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

A could write "Call me once you hit ground... :) " :P

- Anonymous March 09, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

1. write your name on parachute or mark something on it.
2. watch the direction of wind.
3. leave some signs behind like cap,cloths etc so that the person coming from behind can follow them.

- krish March 10, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

cut your strings before jumping... we will meet in heaven :P

- zoom May 22, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

If they land on a plane: Person A remains still, Person B spirals with increasing radius.
If they land on a sphere (earth): Person A takes 1 step east every 1 second, Person B takes 2 step east every 1 second. eventually they will meet since sphere is round.

- pathikrit.bhowmick March 22, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

keep shouting :p

- Aarav July 15, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Suppose the desert is a bounded contiguous set in the plane, with a continuous boundary. (A pretty reasonable assumption).

Now the algorithm becomes - have both men walk to the edge of the desert (i.e. the boundary of the set), and then have them follow the edge in opposite directions - one goes clockwise, the other counterclockwise. Eventually they'll meet.

- mathytime September 21, 2014 | Flag Reply


Add a Comment
Name:

Writing Code? Surround your code with {{{ and }}} to preserve whitespace.

Books

is a comprehensive book on getting a job at a top tech company, while focuses on dev interviews and does this for PMs.

Learn More

Videos

CareerCup's interview videos give you a real-life look at technical interviews. In these unscripted videos, watch how other candidates handle tough questions and how the interviewer thinks about their performance.

Learn More

Resume Review

Most engineers make critical mistakes on their resumes -- we can fix your resume with our custom resume review service. And, we use fellow engineers as our resume reviewers, so you can be sure that we "get" what you're saying.

Learn More

Mock Interviews

Our Mock Interviews will be conducted "in character" just like a real interview, and can focus on whatever topics you want. All our interviewers have worked for Microsoft, Google or Amazon, you know you'll get a true-to-life experience.

Learn More