Coded a linked list class with a lot of methods. Some of these methods are not optimised for edge cases (deleting the last element of an empty list can be considered as an edge case). Linked lists are powerful data structures and would be a good idea for beginners to grasp these concepts especially since the code also covers dunder methods and basic OOPS.
Coded a linked list class with a lot of methods. Some of these methods are not optimised for edge cases (deleting the last element of an empty list can be considered as an edge case). Linked lists are powerful data structures and would be a good idea for beginners to grasp these concepts especially since the code also covers dunder methods and basic OOPS.