@Sumit
lets consider the case the Egg does not break even from 100th floor
in your case u will get to know the answer in 8th trial.....after 91 trying
from 100
but worst case solution is 16 for your solution.

we can do better by starting at 14 as above explained
14,27,39,50,60,69,77,84,90,95,99,102,104,105
we can check 105 floors by this

On Fri, Jul 8, 2011 at 12:33 AM, Sumit chauhan <[email protected]>wrote:

> @ Tushar
> the answer is 16 and i have proved it.
> if it is 14 , then prove 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.
>



-- 
Sunny Aggrawal
B-Tech IV year,CSI
Indian Institute Of Technology,Roorkee

-- 
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.

Reply via email to