Showing posts with label Common Puzzles. Show all posts
Showing posts with label Common Puzzles. Show all posts

Mar 13, 2008

Randomized Shuffling Problem

How would you randomize an array of 52 values, from 0 to 51 with no repeats, such as you might want for a deck of cards? Prove that this really is random.

Jan 18, 2008

Puzzle Time: 2 egg problem

You have 2 eggs and a multi-storeyed building with you[:) ..yes the building is yours!]
Tolerance level of an egg is defined as the minimum height from which dropping the egg would break it!In other words, if tolerance level of an egg is say 15 it means if the egg is dropped from floor no. >= 15 it would break.
Both the eggs have equal tolerance levels.
What is the minimum number of attempts you need to correctly determine the tolerance level of the eggs.

What if there are 3 eggs?