Intuit

  www.intuit.com
  www.intuit.com

Interview Question

Software Engineer Interview Mountain View, CA

You have two strings, each of which burns in exactly one

  hour, although not at a constant rate. How do you measure 45 minutes with only these two strings?
Answer

Interview Answer

1 Answer

12

Burn string 1 at both ends. string 2 at one end. when string 1 completely burns, its 30 mins. Immediately light the other end of string 2. It will burn completely in 15 mins

Megha on Mar 17, 2010

Add Answers or Comments

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