← All problemsSign in

Chef and Anagram

Chef is a college student and he wants to Impress a girl . In order to do that he has to solve a task. If Chef is able to solve the task then the girl will be impressed. As a friend of Chef You Have to Help Him to solve that task. Basically that girl has given Chef a string of $N$ characters. Chef has to Partition that string into two strings such that these two strings are Anagrams(An anagra

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