why my solution doesn’t passing all the test cases.
Printing wave_form of the matrix
Change the size of array as ar[11][11] instead of ar[n][m].
why my solution doesn’t passing all the test cases.
Change the size of array as ar[11][11] instead of ar[n][m].