Re: [algogeeks] puzzle

2011-07-07 Thread Sumit chauhan
@sunny
dude i got so excited after finding this solution i did not bother to check
for 14

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



Re: [algogeeks] puzzle

2011-07-07 Thread Sumit chauhan
@ 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 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.



Re: [algogeeks] Re: puzzle

2011-07-07 Thread Sumit chauhan
Ans :- 3
let bottles be1,2,3,4,5,6
and mice be a,b,c.
separate bottle 6
make pairs P(1,2,3) ; Q(2,4) ; R(3,4,5) and given to mice a,b,c resp.
if poison is inbottle  mice who dies
   1 a
   2 a,b
   3 a,c
   4 b,c
   5 c
   6 no mice
hence we have saved any mice to die in 6 case.

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



Re: [algogeeks] puzzle

2011-07-07 Thread Sumit chauhan
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
1691) 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.