mirror of
https://github.com/kartikay-bagla/Data-Structures-in-Python.git
synced 2026-11-05 18:32:02 +00:00
An implementation of Linked lists in python
- Python 100%
| __pycache__ | ||
| Binary Search Trees | ||
| Linked-List | ||
| .gitattributes | ||
| README.md | ||
Linked List Implementation in Python:
- Blogpost explaining the code is here
- Node.py contains the Node class which is used as elements for the Linked Lists
- LinkedList.py contains the LinkedList class which uses Node.py to create the Linked List
Current Functions in the Linked List
- insertStart: Inserts data at the start of the list
- insertEnd: Inserts data at the end of the list
- insertIndex: Inserts data at the index specified
- search: Returns the index of the first occurence of the data
- index: Returns the data at that index