← All problemsSign in

The Confused Mobile Keypad

ByteLandSoft has launched a new mobile phone which has got a T9 keyboard. They have introduced a new feature which lets you type without pressing the same key multiple times. That is, if you want to enter a letter, you have to press the key it corresponds to just once. For example, if you want to enter ‘q’, you have to press 7 only once ('p', 'q', 'r' and 's' correspond to 7, remember?). With the

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