Providence interview question

Arrays related sum and something complex