Doubly linked list algorithm in C++

by Mr on 12 May 11

Doubly linked list in C++. A simple implementation that includes a few simple features:

Adding a node, erasing a node, searching a node, counting the number of nodes in the list, printing the list by a recursive function, printing the list iteratively and printing the list in reverse order.

The nodes hold only integers as data but this can be generalized easily.

Bookmark and Share

You must login or register to post comments