Meta Interview Question

Basically an array manipulation problem