Because I love riddles, so I got the idea to publish posts with programming riddles occasionally, hence, continue reading and try to resolve the first one. Enjoy!

Choose one integer number from 1 to 63 and keep it in your mind. Next, tell me which of the 6 cards below contain your number, then I will know your number. Question is: how would I have known, what is the number? Also, I want to highlight that I don’t memorize these numbers on each card and the riddle can be extended up to more amount of numbers.

Tips and solution are under the picture, so if you want to resolve this riddle without any help, be careful while scrolling down!

 

Tip 1: The order of the cards does matter

Tip 2: Cards need to be shown from bottom to top

Tip 3: Binary numbers

 

Solution: Show the cards from bottom to top and when the number is on a card put 1, else 0, what creates a binary number which is the solution!

About The Author

I am a software developer from Poland, currently focused on the .NET platform. I’ve been incredibly passionate about IT since a young age and am always seeking to expand my skillset. Furthermore, my personal development plan includes machine learning, cryptocurrency, image processing, and the Scrum framework. Turning to the personal part of my life. I’m a licensed paraglider holding an International Pilot Proficiency Information Card, a proud Arsenal F.C. supporter and avid traveller with an infatuation for the natural beauty of New Zealand. I’m keen on unusual or extreme sports, and I love to discover and try out new things.

Related Posts

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.