Spiral traversal of matrix in JAVA
Enter your question -
Given a 2D array, print it in spiral form. See the following examples. Input: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 Output: 1 2 3 4 8 12 16 15 14 13 9 5 6 7 11 10
Enter link to the question(if question belongs to any online platform) -
https://www.geeksforgeeks.org/print-a-given-matrix-in-spiral-form/
Tags for the question(eg - Array, Basic, Stack, etc.) -
Array,Matrix
@SarthakKeshari can you assign me this task under the hacktober title?
@Onkar627, Kindly complete the issue template
@SarthakKeshari I have completed the issue template.Kindly review it
@SarthakKeshari if there is any thing to be updated?
@Onkar627, Kindly add your solution to "GeeksForGeeks" folder. Deadline - 07/10/2021
This Issue will only be counted towards ranking criteria of this repository.
Gentle advice for futher Issues - Medium and hard level questions will be given preference for Hacktoberfest tag.