King Joffrey in Danger
CodeChefOpen on judge ↗
King Joffrey heard from one of his raven that Stannis is planning an attack on his iron throne. He plans to lock the only single door through which they can come. But to lock the door a special key is needed. Joffrey initially has a string S. If any anagram of the string S is a palindrome then the door is successfully locked. Help Joffrey in saving his iron throne.. Input A single line contain
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