query: Strange result when removing item from a list while iterating over it
positive_passages.docid: 9108
positive_passages.text: How to remove items from a list while iterating?
negative_passages.docid: 137121
negative_passages.text: Why is list.remove only removing every second item?
negative_passages.docid: 17990
negative_passages.text: Why does the order of the loops affect performance when iterating over a 2D array?
negative_passages.docid: 11987
negative_passages.text: F# insert/remove item from list
negative_passages.docid: 130604
negative_passages.text: Remove oldest n Items from List using C#
negative_passages.docid: 55919
negative_passages.text: Why is ReplaceAll behaving like this?
negative_passages.docid: 1215
negative_passages.text: List changes unexpectedly after assignment. Why is this and how to prevent it?
negative_passages.docid: 152524
negative_passages.text: How to remove from a map while iterating it?
negative_passages.docid: 77387
negative_passages.text: Is there a simple way to delete a list element by value?
negative_passages.docid: 121365
negative_passages.text: Why results of map() and list comprehension are different?
negative_passages.docid: 25912
negative_passages.text: Why does adding a new value to list overwrite previous values in the list
negative_passages.docid: 38177
negative_passages.text: How do I remove an item from a stl vector with a certain value?
negative_passages.docid: 68076
negative_passages.text: Python list slice syntax used for no obvious reason
negative_passages.docid: 153925
negative_passages.text: extra empty element when removing an element from a tuple
negative_passages.docid: 134059
negative_passages.text: How to Clear variables represented as a list of strings?
negative_passages.docid: 29351
negative_passages.text: Getting a ConcurrentModificationException thrown when removing an element from a java.util.List during list iteration?
negative_passages.docid: 979
negative_passages.text: DeleteDuplicates[] does not work as expected on floating point values