← All problemsSign in

THE DICTIONARY

The Chef wants to create a dictionary. But he needs your help as he doesn't want a normal dictionary,he wants a dictionary which contains all the permutations of a given word. So to help him you must create a program to do so. Do not use built in functions Input The line consists the root word A Output For each input output the diff. variations of the root word alphabetically. Constraints

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