0
Insert a node before a perticular node in single linklist
A node is a structure contain two things. 1.int data; 2.struct node * link; link list is a data structure where elements are present in a list with the help of link
1 Resposta
+ 7
Here's a code that inserts a node at the end in Doubly Linked List and then deletes a single node.
There is not much difference between singly and doubly LL except for that the current node will have the address of the previous and the next node. So you can move back and forth.
If you say I will make a code that will add node at specific position instead of only at last.
https://code.sololearn.com/cQEw7l62tqGg/?ref=app