← All problemsSign in

INSOMNIA

G.K.T is a very busy person. He has a lot of tasks to do in a day. After a hectic day when G.K.T wants to sleep he spends a lot of time staring at ceiling. G.K.T does not like to waste a second. So he devised a single player Game. He picks a number N. then he starts naming N, 2xN, and 3xN and so on. Whenever he gets a Number, he thinks about all the digits in that number. He keeps track of whi

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