The answer is 14 . On Thu, Jul 7, 2011 at 11:25 PM, Sumit chauhan <sumitchauhan...@gmail.com>wrote:
> > The ans is 16 because :- > if we drop from 16th floor and if egg1 breaks floor to be tested is b/w > 1-16 . Then start from floor 1 with egg2 and floor from which it breaks > first is obtained and will lie b/w 1-16. the attempts are no more than 16. > however If egg1 doesn't break on 16 floor then try on (16+15)th i.e. 31st > floor , it will have 16 attempts at max in both cases > then (16+15+14)th and so on > floor to be tried will be 16,31,45,58,70,81,91. > In case it is 100th floor max attempts can be 7 attempts(earlier frm > 16----91) and 9(92-100)attempts more i.e. 16 attempts. > > > -- > 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. > -- Regards Anurag Atri III year Computer Engineering Delhi College Of Engineering -- 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.