Is It String Matching
CodeChefOpen on judge ↗
You have been given two strings $A$ and $B$ of length $N$ and $M$ consisting of lowercase alphabets respectively. A string is considered nice if its an anagram of string $B$. Recall that, a string $S$ is called an anagram of the string $T$, if it is possible to rearrange letters in $S$ so that it is identical to the string $T$. For example, the string "aab" is an anagram of the string "aba"
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.
Sign in to chat with the tutor and save your progress.
Sign in to start