Question: ( Linked List - Recursion ) Create a menu to perform the following functions on a singly linked list: Option 1 : Add an element
Linked List Recursion
Create a menu to perform the following functions on a singly linked list:
Option : Add an element at a specific position.
Option : Remove an element at a specific position in the list.
Option : Reverse the list.
Option : Find the largest and the second largest elements in the list.
Option : Sort the list in descending order by value.
Option : Exit.
Note: The functions in items and should use recursion to operate the program.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
