← All problemsSign in

Spyrographs

A Spyrograph is the output of a 2 D array in spiral form as shown below,from the given example below WAP to find the spyrograph of a given 2D array. Input The first line will consist of the total number of test cases T(1Output For each test case print out each element of the spyrograph. Example Input: 1 156 25 3 4 54 62 7 82 9 210 311 142 143 14 15 45 Output: 624 100 12 16

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