Priceline.com interview question

Remove elements from list, in place.