Problem

Square n*n: sum anti-diagonal.

Examples

  • antiDiagonalSum([[0, 2], [1, 0]]) -> 3
Compile and test (Ctrl+Enter)