Mastermind
You must find a 3-digit number. You know that:
- 682 shares one digit with the number, and it is well placed;
- 614 shares one digit with the number, but it is wrongly placed;
- 296 shares two digits with the number, but they are wrongly placed.
What is the number?
The first and second clues imply that the 6 is not a part of the number. The third clue then implies that 2 and 9 are parts of the number. Now the first clue implies that 2 is the last digit of the number, and the third clue implies that 9 is the first digit of the number. Finally, the second clue implies that 4 is the second digit of the number. Therefore, the number is 942.