innoPath

  www.innopath.com
Work in HR? Unlock Free Profile

innoPath Senior Software Engineer Interview Question

I interviewed in Sunnyvale, CA and was asked:
"there are 2 ropes. Each takes 1 hour to totally burn off. But you cant say that half rope burns in 30 min. It is of irregular thickness. Using these 2 ropes how do you measure 45 minutes."
Add Tags [?]
Answer

Part of a Senior Software Engineer Interview Review - one of 9 innoPath Interview Reviews

Answers & Comments

1
of 1
vote
burn first rope at 2 ends. Burn second rope on one end only. Now we know that it is half hour when first burns totally. at this time burn the second rope at other end also. Now the remianing of the second rope takes 15 min
- Interview Candidate on Aug 13, 2010
0
of 0
votes
Unfortunately, since the ropes do not burn at constant rates, you cannot assume that each half of a doubled-over rope will take 30 minutes to burn.

If the question stipulates that the ropes burn at a constant rate and you don't have a way to measure them, this answer works.
- Correction to Answer/Question on Apr 18, 2013

To comment on this question, Sign In with Facebook or Sign Up

Tags are like keywords that help categorize interview questions that have something in common.