← All problemsSign in

Magic String

Neeraj and Ayush are two school best friends, They often like to play a game of strings whenever they felt bored, The game is very simple, They gave each other two strings, and they've to find whether those set of strings are **"Magic String"** or not, Here we called a string **"Magic String"**, Only if by rearranging the letters of first string (Let say **'S1'**), We can get second string (Let sa

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