Pattern of Paradise
CodeChefOpen on judge ↗
People at paradise were bored with their daily routine and wanted to try something new. They thought to observe patterns kept in the library at Paradise. While observing the patterns they found a very interesting pattern which they wished to explore. Your task is to help the people to visualize the pattern for any given $N$. Given an N you need to find the corresponding pattern for it. Look
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