Skip to content

rajat-arora084/Spiral_Matrix1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Spiral_Matrix1

Prints 1 to n^2 numbers in a spiral order.

For printing, we start writing from zero,zero index towards Right direction then to Down then to Left and lastly to Right. Till we reach the last point. In doing so,we keep a track of the rows and columns that are traversed.

About

Prints 1 to n^2 numbers in a spiral order.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages