40. Identifying Hidden Numbers on Cards You are shown five cards lying on a table (so you can only see one side of each of the five cards). Each card has a single positive integer printed on each side of the card (they may or may not be repeated). The numbers that you can see are: 1, 2, 3, 4, and 5. How many cards must you turn over to completely verify the statement any card that has a 2 on one side has a 5 on the opposite side? Submitted by tartle · Added 3 March 2011 Show Hint Show Solution Hint: Consider which cards could potentially violate the statement if they are not checked. Solution: You need to turn over the card showing 2 and the card showing 1. Turning over the 2 checks if there is a 5 on the opposite side, and turning over the 1 checks that it does not have a 2 on the other side.
Comments (0)
No comments yet. Be the first!
Add a Comment or Suggest an Answer