To me, Q5 is just one that is not as simplistic as it looks on its surface. Your gut reaction is to say "10 cents," but that's before you check your answer.
It reminds of yet another classic interview question:
Q: You have two posts that are 50 meters high, and an 80 meter cable connecting the two of them at the top. The cable, at its lowest, is 10 meters off the ground. How far apart are the two posts?
A: They're right next to each other. The cable would hang down 40 meters from the top, and go directly back up the additional 40 meters to the other pole, resulting in the lowest point of the cable being 10 feet off the ground.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
To me, Q5 is just one that is not as simplistic as it looks on its surface. Your gut reaction is to say "10 cents," but that's before you check your answer.
It reminds of yet another classic interview question:
Q: You have two posts that are 50 meters high, and an 80 meter cable connecting the two of them at the top. The cable, at its lowest, is 10 meters off the ground. How far apart are the two posts?
A: They're right next to each other. The cable would hang down 40 meters from the top, and go directly back up the additional 40 meters to the other pole, resulting in the lowest point of the cable being 10 feet off the ground.