Spiral Matrix Order
How do you return the elements of a matrix in spiral order, starting at the top left and moving clockwise?
Comment your answer, then watch the solution.
Follow Brain Massage by CN for a new brain teaser every day
#interviewquestion #brainteaser #logic #puzzle #problemsolving