Ensure that you are logged in and have the required permissions to access the test.
A server error has occurred. Please refresh the page or try after some time.
An error has occurred. Please refresh the page or try after some time.
5
Given an NxN matrix. Print it in spiral form.
INPUT
First line contains N. Next is the NxN matrix.
OUTPUT
output in single line.
Constraints 1 <= N <= 10^3
A password reset link will be sent to the following email id
?