Amazon Interview Question for Software Engineer / Developers






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

The distance between poles is zero. In this case, the cable will be hanging directly down and its center be 8mts down which is half of its length. The height of the poles are 15mts, so 15mts - 8mts = 7mts.

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

Amazing answer

- Ajay Singh March 04, 2011 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

correct...

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

WOW

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

awesome answer

- @123 September 01, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

16 : 2 = 8. 15-8=7 ...>> = 0

- Anonymous February 24, 2020 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

Geometry Question
Two possible answers:
1. 16
2. 16 * sqrt(3)

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

The form of the cable is like to be approximated to parabola. Calculate the length of parabola, this must be enough to solve the task.

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

Pls use equations of parabola or hyperbola and type in ur ans :)

(The ans seems to be 0).

- Anonymous May 24, 2011 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

The form of the cable is like to be approximated to parabola. Calculate the length of parabola, this must be enough to solve the task.

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

The answer is 0. :)

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

Answer is zero

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

very easy 0

- aaa August 03, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

The hanging cable will form a catenary but not parabola.

- Z February 14, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Assuming that the cable takes the form of a semicircle when curved.

the the whole figure can be taken as a cylinder with H=15mt and diameter =16*2 = 32 mt

2*pie*r = 32
2*r = 32/pie = 32*7/22 = 10.18 mts

- itsme.kunal February 19, 2014 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

The answer is 50 if the cable drops down 7 meters then you must pull it back 3.5 on each side therefore the answer is 16-7 and that means the length on the bottom is 9

- S. J. February 01, 2020 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

If there are two poles with a cable hanging between 7' off of the ground, the distance is not zero! What kind of bs is this?

- Mike February 17, 2020 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

Hey Mike !That was exactly what I thought...I do not understand the solution zero ? Why zero meters ?? Why ?

- Flynn May 08, 2020 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

pole 1 is 15 ft high. to get to 7 ft high you need to go down 8. then to get back up to the second pole you need to go up 8. 8+8 is 16. which is the length of the cable. leaving no distance for any horizontal. hence the poles are on top of each other (or zero apart). which technical doesn't work. but you could say as close to zero as the poles allow.

- Anonymous March 28, 2022 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

14

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

14

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

Half cable must achieve an altitude difference of 15-7=8 metres, but this is just halfcable lenght (=16/2) ! Were Pole basis out of the origin it would be impossible for the cable to reach it, so both Poles collide at the origin and its difference is obviously zero.

- pecasber@gmail.com February 20, 2020 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

answer is zero ( just don't visual wrongly )

- narayan February 20, 2020 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

32 as it is written

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

The question wordings are ILLOGICAL and not worthy of Amazon standards
Reason:
The Question CLEARLY states 2 poles & cable hanging between the 2 poles.
The answer solution of this being a cable hanging down vertically would mean it is ONLY ONE pole.
So Amazon should now assess the question setters language problem than conjuring up these RUBBISH LOGICALLY INCORRECT questions

- Dr Anil Khubchandani February 29, 2020 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

The question wordings are ILLOGICAL and not worthy of Amazon standards
Reason:
The Question CLEARLY states 2 poles & cable hanging between the 2 poles.
The answer solution of this being a cable hanging down vertically would mean it is ONLY ONE pole.
So Amazon should now question the question setters language problem than conjuring up these RUBBISH LOGICALLY INCORRECT questions

- Dr Anil Khubchandani February 29, 2020 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

The question wordings are ILLOGICAL and not worthy of Amazon standards
Reason:
The Question CLEARLY states 2 poles & cable hanging between the 2 poles.
The answer solution of this being a cable hanging down vertically would mean it is ONLY ONE pole.
So Amazon should now question the question setters language problem than conjuring up these RUBBISH LOGICALLY INCORRECT questions

- Dr Anil Khubchandani February 29, 2020 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Zero 0

- Lakshman April 14, 2020 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Assume the line is 100 m and the poles are 50m instead of 15m.
Then you push both poles towards each other until the distance is 0m between the poles.
Now, the line is 50m on both poles and touching the ground with 50m hanging down from each pole.

Now pull off 20 m from the line so it becomes 80m. The line will then hang 50-(100-20)/2) meters down each side but the poles are still 0m between each others.
So the correct answer must be 0m also in this case with this, more odd numbers.

- Jonas May 08, 2020 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Nothing 'illogical' about the question!
If the distance between the two poles is said to be zero then it does not necessarily mean that the two poles are one!
In physics the distance between two bodies is actually taken to be the distance between their centres of mass. But that happens if we take the bodies to be point-like. Here the two poles are simply adjacent to each other.

- omodei604 May 08, 2020 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

The distance should be diameter of the rope times two cause at least we have two ropes in between! The rest is totally logical. It also depends on the poles. Are they straight poles or are they bended?

- Pooria October 22, 2020 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Distance should be diameter of the rope times two cause we still have two ropes in between and also the question hasn’t mentioned that the poles are straight so if the poles are bended or not vertically aligned, then it can change the case completely.

- Anonymous October 22, 2020 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Diameter of the rope times two, only if the poles are straight and vertically aligned.

- Pooria October 22, 2020 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Diameter of the rope times two, only if the poles are straight and vertically aligned.

- Pooria October 22, 2020 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

0

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

This is a gotcha question and Amazon would not ask it in an interview.

- Ariadna March 28, 2022 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

This is a gotcha question and Amazon would not ask it in an interview.

- Ariadna March 28, 2022 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

10x2sqrt7=52.9m

- Ramesh Chandra March 28, 2022 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

{10x2sqrt7=52.9m}

- Ramesh Chandra March 28, 2022 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

60

- Tonymffritz March 28, 2022 | 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