Intuit Interview Question: You have two strings, each of... | Glassdoor

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?

Interview Answer

1 Answer


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, Sign In or Sign Up.