Trees and Graphs
A node is an abstract data type with two things. First, a node stores data. Second, a node stores pointers to other nodes. A graph is any collection of nodes and their pointers to other nodes. The nodes of a graph are also called vertices, and the pointers that connect them are called edges. The start of a linked list was called the head. The start of a binary tree is called the root....