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 1: Add an element at a specific position.
Option 2: Remove an element at a specific position in the list.
Option 3: Reverse the list.
Option 4: Find the largest and the second largest elements in the list.
Option 5: Sort the list in descending order by value.
Option 0: Exit.
Note: The functions in items 1,2,3,4, and 5 should use recursion to operate the program.
 (Linked List - Recursion) Create a menu to perform the following

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!