Charlie Croker and his team need to break the safe to finish a secret job named "Italian Job" in exactly a five minutes.
They got just one chance and five minutes to finish the job else the local police will be informed.
He got following clues
1st Clue: Exactly one number is perfectly placed.
9 2 5
2nd clue: Everything is incorrect.
9 3 8
3rd clue: Two numbers are part of the code of the safe, but are wrongly placed.
4 9 6
4th clue: One number is part of the code of the safe, but is wrongly placed.
5 8 1
5th clue: One number is part of the code of the safe, but is wrongly placed.
1 2 6
Solution:
The code is 645
Explanation :
A) From Clues 1st and 2nd we know that one 9 is not in the code
B) From Clue 2nd we know that 9 3 and 8 are part of code
C) From Clue 3rd we know that 4 and 6 are part of code
D) From Clue 5th we know that 1 and 2 are not part of the code as we know 6 is part of the code and just 1 of 3 numbers is part of code.
E) From Clue 4th we know that 5 is also in the code as 8 and 1 are not part of code.
So the code is: 645