← All problemsSign in

Chef Relationship

Chef had a bad experience with string questions that he lost his total confidence in these type of problems. But the problem came with his girlfriend. First time she got interest in programming and tried to solve a question based on strings. But got too many errors and asked chef for help. In order to maintain a good relationship with her he need to help her in solving that question if not he will

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