Left Right Print
CodeChefOpen on judge ↗
Dewansh loves strings. His friend Adarsh gave him a simple problem. It was like this - Given a string ‘S’ with only lowercase and uppercase characters. You are supposed to perform two tasks on the entire string. First – Shift the Uppercase character on the left in the order as they are present in the string. Second – Shift the Lowercase character on the right in the order as they are present in th
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