Question: Create linked list using the python class and do the following operations (preferably menu driven): a) Insert a node in beginning b) Insert a node
Create linked list using the python class and do the following operations (preferably menu driven): a) Insert a node in beginning b) Insert a node at last position c) Insert a node in middle position d) Insert a node at before a given node e) Insert a node at after a given node f) Insert a node in between two nodes g) Delete the node from last position h) Delete the node from middle position i) Count total number nodes j) Reverse all nodes (Physically reverse)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
