← All methods
Rotate an n×n matrix 90 degrees clockwise in-place.
Given an m×n matrix, return all elements in spiral order.
Given an m×n matrix, if an element is 0, set its entire row and column to 0. Do it in-place.