Internet Brands interview question

Nothing surprising. All about array manipulation.