Status: IN
The solution runs in O(n) time with a single pass over row indices, not O(n^2) over the full matrix.
Source: entries/2026/06/06/matrix-diagonal-sum-solution.md
JSON