Oyela interview question

Array manipulation and problem solving