{"id":"diagonal-sum-linear-time","text":"The solution runs in O(n) time with a single pass over row indices, not O(n^2) over the full matrix.","truth_value":"IN","source":"entries/2026/06/06/matrix-diagonal-sum-solution.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"diagonal-sum-linear-time","truth_value":"IN","reason":"premise"}]}}