LinkedList.eraseIter
Deletes an entry from the list by its iterator.
Arguments
iterator
is a ListIterator to delete an entry by. The iterator and all ranges that include it a “first” or an “end” iterator become invalid. If the iterator is an “end” iterator, an error will occur.
Return values
None
Complexity
Constant
Example
Output:
1,5,45,3,