Questions with answers Linked Lists in Data structures
[B] Suppose we want to insert node A to which we have pointer p , after pointer q then we will Have following pointer operations 1.p->next=q->next; 2.q->next = p; So we have to do two pointer modifications 2.Consider a singly linked list having n nodes. The data items d1, d2, …., dn are stored in […]