Question: NB: Use C + + for the coding part Question 1 Linked List ( a ) Draw a linked list from items 5 , 2
NB: Use C for the coding part
Question Linked List
a Draw a linked list from items with the head pointer pointing at node
i Describe the steps covered to add item at the end with two conditions: with and
without the tail pointer.
ii Using linked list in a write an algorithm to print the items of the above singly linked list
in reverse order as in time. The structure used for the implementation
has the tag Node with fields item and next. NB: You may use an extra pointer in
necessary
b Draw a sorted doubly linked list for the items in a Show every step for adding each item and how
the sorted list is maintained.
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
