Frage im Vorstellungsgespräch bei Accenture

coding adding the array on numbers and calculating the repeated values in matrix.