Linked Lists And Trees Flashcards
A linear data structure, much like an array, that consists of nodes, where each node contains data as well as a link to the next node, but that does not use contiguous memory.
Linked List
Memory that is allocated as needed, and NOT contiguous (side-by-side), specifically during the implementation of a linked-list style data structure, which also includes binary trees and graphs.
Dynamic Memory
In a linked list, tree, or similar graph-based structure, a _____ is an object linked to other objects, representing some entity in that data structure.
Node
A data structure that does not occupy contiguous motors, such as linked list, graph, or tree.
Non-Linear Data Structure
A node, including the root, which has one or more child nodes connected to it.
Parent Node
A data structure that consists of nodes, with one root node at the base, and two nodes (left child and right child) extending from the root, and from each child node.
Binary Tree
The term used in trees to indicate a node that extends from another node, such as left child and right child in a binary tree.
Children
A tree in which there are no missing nodes when looking at each level of the tree. The lowest level of tree may not be completely full, but may not have any missing nodes. All other levels are full.
Complete Tree
In a tree data structure, the _____ of the tree is mostly commonly expressed as the number of steps from the root of the tree to the farthest outlying node in the tree. Height is also used to mean the same thing.
Depth
A potential node in a tree, where currently either the left or right child pointer of a node is pointing to null, but potentially could reference another node.
External Node
A tree in which nodes are inserted systematically in order, with the final property of each left child being less than or equal to its parent, and each right child being greater than its parent.
Binary Search Tree
A tree in which everyone aren’t is lesser in value than both its children, which means that the root of the tree is least value in the tree.
Minimum Heap Tree
A tree in which every parent is greater in value than both its children, which means that the root of the tree is greatest value in the tree.
Maximum Heap Tree.
A tree in which every level of the tree is completely full, with no missing nodes.
Full Tree
The process of systematically visiting every node in a tree once. The three most common are pre-order, in-order, and post-order.
Tree Traversal