🔴 Riddle #159 of 240
A safe uses a 4-digit code with all digits different. A detective found these notes from earlier attempts — Guess 8154: 0 digit(s) correct and in the right place, 0 digit(s) correct but in the wrong place; Guess 9504: 0 digit(s) correct and in the right place, 2 digit(s) correct but in the wrong place; Guess 9860: 1 digit(s) correct and in the right place, 2 digit(s) correct but in the wrong place; Guess 7016: 1 digit(s) correct and in the right place, 2 digit(s) correct but in the wrong place. What is the code?
Think about it first. When you're ready:
7690
Checking all four-digit codes with distinct digits, only this one gives the stated exact and misplaced counts for every guess.