Write function to demonstrate the deletion of particular node in singly and circular list.
Answers
Answered by
0
Answer:
Explanation:
Take two pointers current and previous and traverse the list.
Keep the pointer current fixed pointing to the first node and move previous until it reaches the last node.
Once, the pointer previous reaches the last node, do the following:
Similar questions