The Wayback Machine - https://web.archive.org/web/20240118173152/https://www.geeksforgeeks.org/puzzle-39-hundred-coin-puzzle/
Open In App
Related Articles

Puzzle 39 | (100 coins puzzle)

Improve
Improve
Improve
Like Article
Like
Save Article
Save
Report issue
Report

This puzzle is similar to 10 Coins Puzzle. 
  
Question: 100 coins are lying flat on a table. 10 of them are heads up and 90 are tails up.You can’t see which one is which.How can we split the coins into two piles such that there are same number of heads up in each pile?

Note: It is allowed to flip the coins of one pile once.
  
Answer: Make 2 piles with 10 coins and 90 coins each. Now, flip all the coins in the smaller pile. 
  
Explanation : Make 2 piles and say pile one has ‘h’ no. of heads and ‘t’ no. of tails while the other pile will have ’10-h’ heads and ’90-t’ tails.Now we can flip coins of one pile,so lets flip coins of any pile(say 2nd pile) then no. of heads and tails interchange and now no. of heads are ’90-t’ and no. of tails are ’10-h’.

Now no. of heads in pile 1 = no. of heads in pile 2

h=90-t

Therefore,h+t=90

And no. of coins in pile 1 is ‘h+t’

So,split the coins into 90 and 10.
  
This article has been contributed by Vikash Kumar. 
  

 you are allowed to flip the pile once? 

Learn to code easily with our course Coding for Everyone. This course is accessible and designed for everyone, even if you're new to coding. Start today and join millions on a journey to improve your skills!

Whether you're preparing for your first job interview or aiming to upskill in this ever-evolving tech landscape, GeeksforGeeks Courses are your key to success. We provide top-quality content at affordable prices, all geared towards accelerating your growth in a time-bound manner. Join the millions we've already empowered, and we're here to do the same for you. Don't miss out - check it out now!

Commit to GfG's Three-90 Challenge! Purchase a course, complete 90% in 90 days, and save 90% cost click here to explore.
Last Updated : 19 Jan, 2023
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads