Back to Program<<<

Expected O/P:

************MAIN MENU***************
1. Add a new Node
2. Display Link List
3. Display the SIZE of list
4. Value of Node at Index?:
5. Delete the Node of Index?:
6. Exit
Enter Your Option:1
Enter the data in the Node:4

--->>> 4 is successfully added in the Node

************MAIN MENU***************
1. Add a new Node
2. Display Link List
3. Display the SIZE of list
4. Value of Node at Index?:
5. Delete the Node of Index?:
6. Exit
Enter Your Option:1
Enter the data in the Node:5

--->>> 5 is successfully added in the Node

************MAIN MENU***************
1. Add a new Node
2. Display Link List
3. Display the SIZE of list
4. Value of Node at Index?:
5. Delete the Node of Index?:
6. Exit
Enter Your Option:1
Enter the data in the Node:6

--->>> 6 is successfully added in the Node

************MAIN MENU***************
1. Add a new Node
2. Display Link List
3. Display the SIZE of list
4. Value of Node at Index?:
5. Delete the Node of Index?:
6. Exit
Enter Your Option:2

--->>> Linked List- [4, 5, 6]


************MAIN MENU***************
1. Add a new Node
2. Display Link List
3. Display the SIZE of list
4. Value of Node at Index?:
5. Delete the Node of Index?:
6. Exit
Enter Your Option:3

--->>> The Size of the Linked list is 3


************MAIN MENU***************
1. Add a new Node
2. Display Link List
3. Display the SIZE of list
4. Value of Node at Index?:
5. Delete the Node of Index?:
6. Exit
Enter Your Option:4
Enter the index: 1

--->>>Value at Index 1  is  5

************MAIN MENU***************
1. Add a new Node
2. Display Link List
3. Display the SIZE of list
4. Value of Node at Index?:
5. Delete the Node of Index?:
6. Exit
Enter Your Option:5
Enter the index: 2

--->>The node at Index  2  is Deleted.

--->>> Linked List- [4, 5]

************MAIN MENU***************
1. Add a new Node
2. Display Link List
3. Display the SIZE of list
4. Value of Node at Index?:
5. Delete the Node of Index?:
6. Exit
Enter Your Option:6
>>>

Back to Program<<<