Pregunta de entrevista de Priceline.com

Remove elements from list, in place.