← All problemsSign in

Square Mania

Ganesh Gaitonde want to save the world with the help of police inspector Sartaj Singh. Gaitonde has left clues for Sartaj in the form of puzzles. Sartaj must solve a puzzle in order to get next clue. Sartaj has solved all the puzzles except the last one. Help Sartaj in solving the last puzzle and save the world. The puzzle is: **N** squares of different sizes are placed on a horizontal line in a

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