How to remove a element for LinkedList


#1

i dont konw how to remove/search a element for LinkedList.


#2

The pop_front() and pop_back() methods let you remove something from the front or back of the list.

There’s no built-in method exactly, but you can use iterators. iter() will give you an iterator, and then find() on that iterator will give you the ability to search.


#3

Just making sure you’ve read this rant and the docs.