Below is a very interesting puzzle, you have to guess the code to unlock the lock 🙂
From the five sentences, assuming they are all correct
S1: 682: One number is correct and well placed
S2: 614: One number is correct but wrong place
S3: 206: Two numbers are correct but wrong places
S4: 738: Nothing is correct
S5: 870: One number is correct but wrong placed
Check your answer:-Answer With Explanation
From S1 and S2, we can say 6 can not be the correct number as both statement contradicts.
Now from S3, 2 and 0 are correct, thus from S1, we can say 2 is correct and should be at third place. And S4 supports this.
Now from S5, we can say 0 is correct(as 7 and 8 are not correct anyways, from S4) and its wrong placed too(as we already know 2 should be at third position).
And from S3 0 is wrong placed in S3, so 0 should be at 1st position.
And from S2, 1 or 4 were the possibility, but it can’t be 1 since, it says it is wrongly placed but it can’t be (as we already know the numbers for 1st and 3rd positions), so the 2nd number should be 4.
Thus our final code should be: 042