Well, Pradeep, since this is a programming forum, you start with a program. When you say "given an singly linked list", what do you mean by "given"? Show us the program, or at least a part of the program that allows us to deduce the data structure that you have in mind, and maybe someone can help.
How can we possibly comment on how to remove an item from a data structure without knowing some details?
Your question implies that you start with a data structure containing some "things". What are the "things". How did the "things" get into the data structure.
Dave
|