TalentPace Interview Question

sum off diagonal matrix in array