Simple implementation of Linked List in Python
Head[value] -> Node[value] -> Node[Value] -> None
__setitem__
: Assign a value to the linked list__getitem__(n)
: Get value from nth element of the linked listindex(value)
: Return index of the valueappend(value)
: Append a value at the end of the linked listprepend(value)
: Prepend a value at the beginning of the linked list