Question: Implement a Link list using C. The link list should have traverse, insert, delete, search and sort operations. Sort operations are both in ascending and

Implement a Link list using C. The link list should have traverse, insert, delete, search and sort operations. Sort operations are both in ascending and descending order. To compile and run a C code: gcc filename.c -o filename.exe ./filename.exe, Traverse the link list to give the count of number of elements in the link list and Print link list. Insert a new Item in the link list. There are three position that you can insert an item into a link list: 1. Insert at the start of the link list. 2. Insert at a given position in the link list. 3. Insert at the end of the link list. Delete an item from the list. Search an item in the link list. Sort in ascending or descending order. At the beginning of your program, you should give a selectable list of actions to the user- and according to the action the user chooses, it should be able to perform that task.

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!