Can you crack the unlock code for the lock using the 5 clues below?

- Clue #1:
`682`

– One number is correct and well placed - Clue #2:
`614`

– One number is correct but wrongly placed - Clue #3:
`206`

– Two numbers are correct but both are wrongly placed - Clue #4:
`738`

– None of the numbers are correct - Clue #5:
`780`

– One number is correct but wrongly placed

Answer

The code is `042`

.

Based on clue #1 and #2, we can say that `6`

is not the correct number.

Now we know that the unlock code does not contain `6`

and based on clue #3, we know that `2`

and `0`

are correct numbers but in the wrong position. From clue #1, `2`

‘s position should be on the right. The code is `??2`

.

Based on clue #5, `0`

‘s position should be on the left. The code is `0?2`

.

We have to find the missing number in the middle position. Based on clue #2, the middle number has to be `4`

. It cannot be `1`

, as the statement says that the number is wrongly placed.