abhimanyu's matrix traversal in given an integer matrix , r x c traverse it in the order in shown below input format: one line containing two integers r and c representing of the dimenssions of the matrix m as rows r and collumns c respectively r collumns each containing c space separated number of integers which collectively from the matrix data . Output format : single line containing integers representing the desired traversal constraints : 0
Sample input :
1 1
1
Sample output : 1
Sample input : 2 2
1 2
Sample output :
1 2 2 1
Answers
Answered by
0
Answer:
refer to the attachment drop some thx plz
Attachments:
Similar questions