Showing 3 questions
Traverse a given matrix in a spiral pattern, returning all elements in the order you visit them. Essentially, walk around the matrix layer by layer, adding elements to a list.
#1. Spiral Matrix
Convert a Roman numeral string into its corresponding integer value. The input string will represent a valid Roman numeral.
#2. Roman to Integer
You are given a square matrix representing an image. Rotate the image by 90 degrees clockwise in-place.
#3. Rotate Image