Make 2 piles with equal number of coins. Now, flip all the coins in one of the pile.
How this will work?
Lets take an example.
So initially there are 5 heads, so suppose you divide it in 2 piles.
Case:
Pile 1 : H H T T T
Pile 2 : H H H T T
Now when Pile 1 will be flipped
Pile 1 : T T H H H
Pile 1 (Heads) = Pile 2 (Heads)
Another Case:
Pile 1 : H T T T T
Pile 2 : H H H H T
Now when Pile 1 will be flipped
Pile 1 : H H H H T
Pile 1 (Heads) = Pile 2 (Heads)
#10CoinsPuzzle #InterviewPuzzle #Puzzle #GoogleInterviewPuzzle #YahooInterviewPuzzle