How to implement doubly linked list operations in c++ | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

How to implement doubly linked list operations in c++

6th Mar 2020, 4:02 PM
jaweria ibrahim
1 Antwort
+ 1
Doubly linked list can easily be implemented just like simple linked list with a little modification in structure: struct node{ struct node *prev; int data; struct node *next; }; Where prev points to left node and next points to right node with respect to current node. For more detail you can check over the internet.
11th Mar 2020, 7:58 AM
Alpha Rays
Alpha Rays - avatar