Problem of the Day
A new programming or logic puzzle every Mon-Fri

5 Card Trick

Here's a fun problem to round out our week. We'll even learn a magic trick too!

A magician shuffles a regular 52 card deck and gives them a spectator to pick 5 random cards. The spectator does so and gives the 5 cards back to the magician. The magician then picks a card and gives it back to the spectator to keep a secret. The magician then arranges the 4 remaining cards and gives them to his partner. His partner looks at the 4 cards and exclaims the exact card the spectator is holding. How is this possible?

Enjoy your weekend!

Permalink: http://problemotd.com/problem/5-card-trick/

Comments:

  • There are currently no comments. You can be first!

Content curated by @MaxBurstein