-
problem
Hello everyone,I have a problem regarding doubly linked list.I have to do an opeartion on doubly linked list that if I delete a node from any point,then it should assign a space over there.Here,I am sending a ' ' directly in the linked list but there is an error over there.Is there any way so that space is assigned to the deleted node?
-
What do you mean by "if I delete a node from any point,then it should assign a space over there"? If the node is deleted, then assigning a space as its value does not make sense.
-
How are you deleting, is my first question? For doubly linked lists you are just reassigning pointers of your previous node in the list to now point to the node after the node link you just deleted.
I am not sure what you are trying to convey by "it should assign a space over there".