SQUAD_SYMMETRY
CodeChefOpen on judge ↗
For the Republic Day celebrations, soldiers will perform a march to celebrate the date on which the Constitution of India came into effect. You have been made incharge to manage a squads of soldier's. The commanding officer demands that the squad of soldiers will be a single file and pallindrome from either end. He has given you the current formation and you have to provide him witht the proper
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