procedure to insert an ITEM in a sorted linked list
Answers
Answered by
2
Answer:
steps are
- if linked list is empty then make the node as head and return it
- if the value of node to be inserted is smaller than value of head node then insert node at start and make it head
- find the appropriate node after which the input node is to be inserted
hope it helps u plz mark as brainliest. :)
Answered by
0
✌❤❤❤✌❤❤❤✌❤❤❤✌❤❤❤✌
1)create an empty list or sorted list....
2)transverse the given list
3)change the head of given list
✌❤❤❤✌❤❤❤✌❤❤❤✌❤❤❤✌
Similar questions