Open
Description
Python/LinkedLists/LinkedList0.py
Line 24 in ba3e6e6
User is given flexibility to either create linked list with root as None or with a root node given by them.
i.e. size could be 0 or 1
If applicable:
User can also pass root that already has more next nodes.
i.e. size could be n
But, initial size is always set as 0 instead of calculating and setting it as per above logic
Metadata
Metadata
Assignees
Labels
No labels