← All problemsSign in

Guess The number

Last time, Yash was in favour of Rishi but this time due to a fight between Rishi and Yash, He is favouring Amit. This time both Amit and Rishi are playing a game in which Rishi keeps a number with himself and asks Amit to guess the number. Whenever Amit makes a guess , Rishi gives him a hint that tells how many digits in Amit's guess matches Rishi's number exactly in both digit and position(ind

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