PyDS-A: Python Data Structures and Algorithms Library - Your go-to resource for essential data structures and algorithms, implemented in Python. Improve your coding skills and optimize your programs with this comprehensive collection.
I implement Singly LinkedList class in singly_linked_list.py. The Singly Linked List has head, tail, and size. So add at start and end can be achieved and retrieving in constant time. I implement delete_first, delete_all, find_first, find_all.
Related Issue
Closes: #33
Testing
python3 -m doctest -v linked_list.py and pass all tests.
Implement Singly Linked List
Description
I implement Singly LinkedList class in singly_linked_list.py. The Singly Linked List has head, tail, and size. So add at start and end can be achieved and retrieving in constant time. I implement delete_first, delete_all, find_first, find_all.
Related Issue
Closes: #33
Testing
python3 -m doctest -v linked_list.py
and pass all tests.Author
Enxu Han (@Racso-3141 )