## 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.

Comment hidden because of low score. Click to expand.
0

Comment hidden because of low score. Click to expand.
0

correct...

Comment hidden because of low score. Click to expand.
0

WOW

Comment hidden because of low score. Click to expand.
0

Comment hidden because of low score. Click to expand.
0

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

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

Geometry Question
1. 16
2. 16 * sqrt(3)

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.

Comment hidden because of low score. Click to expand.
0

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

(The ans seems to be 0).

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.

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

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

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

very easy 0

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

The hanging cable will form a catenary but not parabola.

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

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

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?

Comment hidden because of low score. Click to expand.
0

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

Comment hidden because of low score. Click to expand.
0

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.

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

14

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

14

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.

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

answer is zero ( just don't visual wrongly )

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

32 as it is written

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

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

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

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

Zero 0

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.

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

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.

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?

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.``

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.

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.``

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

0

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.

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.

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

10x2sqrt7=52.9m

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

{10x2sqrt7=52.9m}

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

60

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.

### 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.