output is same at hacker blocks , but test cases are failing. https://ide.codingblocks.com/s/91013
Arrays - wave print column wise
hey @S19LPPP0132, size of array will not be 4X4 always, your code is according to this size only.
I have made some changes on your code check them here https://ide.codingblocks.com/s/91053.
Ohh ya i forgot to do the changes.
Thanks!!!