i did not understad why we took two square bracket in the spiral and wave print.
Reason behind taking two 2 square Brackets
Two dimensional array are defined as:
int[][] twoD_arr = new int[10][20];
i did not understad why we took two square bracket in the spiral and wave print.
Two dimensional array are defined as:
int[][] twoD_arr = new int[10][20];