-
Binary Tree
Binary tree in C++
Simple, may not be the best implementation there is. Contains functions for inserting, deleting, finding the next and previous values, checking if a node is a leaf, printing, searching, counting the number of nodes, etc.
Also contains a main with examples. Nice for beginners.
-
Doubly linked list algorithm in C++
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.
User login
Search
Search categories
Languages
all » C++Tags
- Data Structure (2)
- Graph Theory (1)
- Graphs (1)
- Linked List (1)
