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
Chemistry,
1 month ago
Geography,
1 month ago
Computer Science,
2 months ago
Science,
10 months ago
Computer Science,
10 months ago