MongoDB interview question

Stuff dealing with array manipulation