CodingReported in a candidate post, Aug 2021
Sum of matrix diagonals
Filed under Odessa
The question
Given an n by n matrix, find the sum of its diagonals.
No write-up yet. Related questions below have one.
Related Odessa questions
Collected from public candidate posts and coding forums. Updated Nov 2026.