Implementation of Linked List in python3
linked_list.py is a simple implementation of Linked List in python3
Following are the methods implemented.
- get_size() : method to get number of nodes in Linked List
- add_node() : method to add a node at starting
- print_node() : method to print all the elements of the Linked List
- remove_node() : method to remove a data element.
Implementation of Stack in python3
stack.py is a simple implementation of Stack in python3
Following are the methods implemented.
- isEmpty() : method to verify stack is empty or not
- push() : method to add element in Stack
- pop() : method to delete element in Stack
- peek() : method to print value of the top ("front") of the Stack without removing the element from the Stack
- size() : method to get the size of Stack.