Chef and his string
CodeChefOpen on judge ↗
Chef wants to change his codechef ID's password to make it more secure and easily remembered. So chef uses password generator tool to generate the secure password. Chef is easily able to remember a string that contains the same occurrence of all the character in that string. As chef is bit busy So, the chef wants you to convert the generated string into an above-mentioned string with the minimum
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