← All problemsSign in

ARE YOU A BACKBENCHER

Manish and Rachit are Backbenchers in a boring Elective lecture. After playing crosswords ,Bingo , X and O games Manish decided to give a String puzzle in which he gives Rachit two strings S and T of the same length N. His task is to convert the string S into T by doing some operations. In an operation, he can delete the first character of the string S and append any character at the end of the

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