To use just add this import to your file from linked_list import LinkedList
and place the linked_list package to the
folder where you have your python src.
Methods:
- get_size() - returns size of the linked list
- get_root() - returns the root of the linked list
- add(data) - adds a new Node object with passed data to the linked list
- remove(data) - removes the Node object with the passed data and returns True, if the Node is not in the list, returns False
- find(data) - looks up the Node object with the passed data in the linked list and returns its data, if not found returns None
To see an example of the usage, see and run app.py
.