Forgot Password?

Logic Level 2

In the present day scenario, hacking isn't anymore a crime instead it's a survival trait. But when it comes on your part to unlock your own phone and to have forgotten the password, you yourself need to think like a professional hacker.


The answer is 8712.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

2 solutions

Aniruddha Bagchi
May 21, 2016

The problem gives two main points - Every code has at least 2 digits right - And those 2 digits are wrongly placed

If we first consider 3 and 5 for they appear the most no. of times as the 2 correct digits , then in the last 4 codes they occupy all places that means even if they are correct they occupy all wrong places as per rules given. So, 3 and 5 can't be the two correct digits. From this deduction we get that excluding 3 and 5 , in every code , the other two digits are correct. So , we get , 1, 7, 8 and 2 also 6 and 0 but 6 and 0 don't fulfil the given conditions thus is deduced. Leaving at last with 1, 7, 8 and 2 we see that 2 occupies 1st , 2nd and 3rd place thus it gets the 4th place. 1 occupies 1st , 2nd and 4th place do it gets the 3rd place. 8 occupies 2nd , 3rd and 4th place so it gets the 1st place leaving at last the 2nd place for 7.

*Thus , the password is 8712. Congratulations Hacker ! *

Nice puzzle.i solved it in the exact same way

Roshan Kandukuri - 5 years ago
Saya Suka
Apr 4, 2021

3 & 5 were everywhere, but we're told that the digits were incorrectly placed, so both 3 & 5 can be ruled out. By this information, we got 1 & 7 from 2nd try, 1 & 8 from 3rd try, 8 & 2 from 4th try and 2 & 1 from 5th try. In conclusion, our passcode must be 1, 2, 7 and 8 in some order.

Guess A B C D Notes
First X X 8 7 C ≠ 8 & D ≠ 7
Second X 1 7 X B ≠ 1 & C ≠ 7
Third 1 X X 8 A ≠ 1 & D ≠ 8
Fourth X 8 2 X B ≠ 8 & C ≠ 2
Fifth 2 X X 1 A ≠ 2 & D ≠ 1
FINAL 8 7 1 2 "Open Sesame!"

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...