given a mxn matrix write a python program to print all anti-diagonal elements of matrix
Answers
Answered by
4
Answer:
Explanation:
Given a square matrix of size N*N, return an array of its anti-diagonals. For better understanding let us look at the image given below:
Examples:
1
2 5
3 6 9
4 7 10 13
8 11 14
12 15
16
Similar questions
History,
2 months ago
Math,
2 months ago
English,
2 months ago
Computer Science,
3 months ago
Science,
11 months ago
Computer Science,
11 months ago