← All problemsSign in

Harry and his professor

One day a professor was bored, so he wanted to observe his students and check their performance in solving problems. He found a student named Harry who was very active and intelligent in solving problems. So the professor wanted to keep a test for Harry and see whether he can solve it or not. As you are a programmer, help Harry to pass the test. Given two strings of the same length, you need to c

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