Light the first string at both ends and the second string at one end. When the first string burns out, 30 minutes will have transpired, and 30 minutes's worth of the second string will remain. Light the second end of the second string. It will burn out in 15 more minutes., making a total of 45 minutes.
Dave On Jul 8, 7:11 pm, "oppilas ." <[email protected]> wrote: > You have 2 pieces of string of different, unspecified length, and some > matches. Each piece of string takes exactly an hour to burn, but the burn > rate is not constant. . The strings have different burn rates, and of course > you don't know the rates anyway. > > Using only the matches and the strings, measure 45 minutes. > > I have thought a lot but unable to find a solution for this problem. Can > someone please try it. -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
