Meta Interview Question

Basic question about array manipulation.