10 Coins — Puzzle for Interview rounds

Placewit
1 min readJul 10, 2021

--

Question :

You are blindfolded and 10 coins are place in front of you on table. You are allowed to touch the coins, but can’t tell which way up they are by feel. You are told that there are 5 coins head up, and 5 coins tails up but not which ones are which.

Can you make two piles of coins each with the same number of heads up? You can flip the coins any number of times.

Solution :

Yes

Make 2 piles with equal number of coins. Now, flip all the coins in one of the pile.

Let’s consider a simple case:

P1 : H T T T T
P2 : H H H H T

By flipping P1

P1 : T H H H H

P2 : H H H H T

P1(heads) = P2(heads)

Thanks for Reading

Placewit grows the best engineers by providing an interactive classroom experience and by helping them develop their skills and get placed in amazing companies.

Learn more at Placewit. Follow us on Instagram and Facebook for daily learning.

--

--

Placewit
Placewit

Written by Placewit

Upskilling students for tech placements!

No responses yet