Question: 3. Create a single link list of 10 elements, where 5 elements are added from head and five elements are added after tail. Traverse the
3. Create a single link list of 10 elements, where 5 elements are added from head and five elements are added after tail. Traverse the link list and print the elements. Search the largest element of the linked list, delete it and print the elements of the linked list again. Finally delete the whole linked list to clear the memory. 4
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
