@Aditi: The ropes burn at non-uniform rates. So for your solution, you
would have to fold it in half according to time, not according to
length. But you don't know where the half-hour point is unless you
light one end of the second rope at the same time you light both ends
of the first rope. When the first rope burns out, you will know where
the half-hour point is on the second rope.

Dave

On Aug 4, 7:47 am, aditi garg <aditi.garg.6...@gmail.com> wrote:
> Well acc to me the solution should be light the frst one on both ends(half
> an hr)After rope one is completely burnt, fr the second one fold the rope in
> the middle and then light it from both ends.it will take 15 mins....total 45
> mins...please let me know if thr is any flaw in this....
>
> On Thu, Aug 4, 2011 at 5:18 PM, Abhinav Arora 
> <abhinavdgr8b...@gmail.com>wrote:
>
> > @Nikhil : This question was asked to 2 people during Adobe interview on
> > Tuesday....the above solutions are perfectly alright.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Algorithm Geeks" group.
> > To view this discussion on the web visit
> >https://groups.google.com/d/msg/algogeeks/-/Bx9FHS_7aRMJ.
>
> > To post to this group, send email to algogeeks@googlegroups.com.
> > To unsubscribe from this group, send email to
> > algogeeks+unsubscr...@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/algogeeks?hl=en.
>
> --
> Aditi Garg
> Undergraduate Student
> Electronics & Communication Divison
> NETAJI SUBHAS INSTITUTE OF TECHNOLOGY
> Sector 3, Dwarka
> New Delhi

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to