Pergunta de entrevista da empresa Priceline.com

Remove elements from list, in place.