If
x = [1 2 4; 3 4 5; 5 6 7]
then y should be the sum of the diagonals of the matrix
y = 1 + 4 + 7 = 12
duuuuuuuh
dooh ... the solution is in test suite
>.<
yeah, but it's a long one
disgusting!!
Return a list sorted by number of occurrences
1225 Solvers
468 Solvers
552 Solvers
Matrix indexing with two vectors of indices
405 Solvers
893 Solvers