You are to open a safe without knowing the combination. Beginning with
the dial set at zero, the dial must be turned counter-clockwise to the
first combination number, (then clockwise back to zero), and clockwise
to the second combination number, (then counter-clockwise back to
zero), and counter-clockwise again to the third and final number,
where upon the door shall immediately spring open. There are 40
numbers on the dial, including the zero.

Without knowing the combination numbers, what is the maximum number of
trials required to open the safe (one trial equals one attempt to dial
a full three-number combination)?


Thanks
Shashank

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