Ideas2IT Interview Question

Matrix Diagonal addition