CodingReported in a candidate post, Sep 2019
Diagonal sum of a spiral matrix
Filed under Livspace
The question
Calculate the sum of elements on the diagonals of a matrix traversed in a spiral order.
No write-up yet. Related questions below have one.
Related Livspace questions
Collected from public candidate posts and coding forums. Updated Nov 2026.