Sort Matrix by Diagonals

mediumSolve on LeetCodeLast edited: September 1, 2025