← All problemsSign in

Crack the Pass Code

Problem description. Albert is a Geometrician who has difficulty remembering numbers. He forgot his 4 digit passcode of his phone which is quite old. This is how his keypad looks. 1 2 3 4 5 6 7 8 9 * 0 # What he does remember is that the manhattan length of the code is 5. For instance if the code is 1569 then manhattan length of the code would be 4 1 to 5 : 2 (one step down, one step rig

HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17

CodeSearch Tutor

Hints, not spoilers — it won’t hand over the full solution unless you insist.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start