← All problemsSign in

Ash and Pikachu

Pikachu is very sad. Ash has been ignoring him lately and has made Charmander his favorite and go-to pokemon for all the gym battles. Pikachu wants to find Charmander and confront him. Charmander comes to know of this and hides his identity. You have to help Pikachu in finding Charmander. Charmander changes his name from string A(“charmander”) to string S to hide from Pikachu(S can also be equal

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