Rotate Matrix Over Diagonals

Asked at Capital One · Coding Questions · Difficulty: Medium · Last asked Oct 14, 2026

tomtom's note: Feel free to check out the source image below for the original problem statement :)

Loading the problem…