Description
Given an sqaure array (n*n) of integers, print elements diagonally .
Example
1 | let nums = [ |
Solution: O(n^2)
1 | function printDiagnally(input){ |
Given an sqaure array (n*n) of integers, print elements diagonally .
1 | let nums = [ |
1 | function printDiagnally(input){ |