← All problemsSign in

Chef and Homework

Chef is a college student. He came to know that his girlfriend is cheating on him .He wants to do break-up with her. So, There is a break-up expert in their college. He will only help Chef if Chef do his Homework. As a friend of Chef we have to help him to solve the expert homework. So, Basically the Homework is that we have two Strings both of length $N$ ($N$ is a positive Integer) and i

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