Deloitte interview question

How to remove items from a list