Interview Puzzles :: Discussion
You have a 100 coins laying flat on a table, each with aÂ head side and a tail side. 10 of them are heads up, 90 are tails up. You can't feel, see or in any other way find out which side is up. Split the coins into two piles such that there are the same number of heads in each pile.
No Best Answer on this question yet!
28 Aug, 2018 8:26 AM
Make a random split of 10 and 90.
say pile A has random 10, pile B has random 90.
This pile A now has random number of heads between 0 to 10.
Assume pile A has X heads and 10-X tails. Then Pile B has 10-X heads.
Now flip pile A only. It should also now has 10-X heads..same as pile B. Its done.