Https://ide.codingblocks.com/s/142817

Question- Spiral print of 2-D array
Giving wrong output for testcase :- {[1,2,3],[4,5,6]}
I have written same code as shown in your video.