Algorithm: Matrices Difficulty: Easy Time: 15 minutes
Goal
Return the signed sum of matrix[i][i] for every row index and exclude all off-diagonal cells.
Coding (Algo)
Algorithm: Matrices Difficulty: Easy Time: 15 minutes
Return the signed sum of matrix[i][i] for every row index and exclude all off-diagonal cells.
Total the Primary Matrix Diagonal is a coding (algo) interview exercise that trains prompt interpretation, explicit assumptions, a concrete response, and a clear explanation of tradeoffs. The catalog marks it as easy difficulty. It focuses on Technical Reasoning, Testing, Validation. The signed-in workspace provides the tools for the round and evaluates the attempt against task-specific criteria. Reference solutions, hidden checks, evaluator instructions, and candidate work remain private.