Linked Lists And Trees Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

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.

A

Linked List

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

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.

A

Dynamic Memory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

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.

A

Node

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

A data structure that does not occupy contiguous motors, such as linked list, graph, or tree.

A

Non-Linear Data Structure

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

A node, including the root, which has one or more child nodes connected to it.

A

Parent Node

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

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.

A

Binary Tree

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

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.

A

Children

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

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.

A

Complete Tree

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

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.

A

Depth

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

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.

A

External Node

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

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.

A

Binary Search Tree

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

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.

A

Minimum Heap Tree

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

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.

A

Maximum Heap Tree.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

A tree in which every level of the tree is completely full, with no missing nodes.

A

Full Tree

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

The process of systematically visiting every node in a tree once. The three most common are pre-order, in-order, and post-order.

A

Tree Traversal

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

A non-executable, visual approach to help determine the pre-order, in-order, or post-order traversal of a tree.

A

Full Tree Traversal

17
Q

The process of systematically visiting every node in a tree once, starting with the root node, proceeding to the left along the tree and accessing the node when the “left” side of the node is encountered.

A

Pre-Order Transversal

18
Q

The process of systematically visiting every node in a tree once, starting at the root and proceeding left down the tree, accessing the first node encountered as its “center,” proceeding likewise along the tree, accessing each node as encountered at the “center.”

A

In-Order Transversal

19
Q

The process of systematically visiting every node in a tree once, starting at the root and proceeding left down the tree, accessing the first node encountered at its “right” side, proceeding likewise along the three, accessing each node as encountered at its “right” side.

A

Post-Order Transversal

20
Q

An existing node in a tree, either the root or any other of the children in the tree.

A

Internal Node

21
Q

In tree processing, this is the sum of all the lengths from the root to the external nodes in a tree.

A

Internal Path Length

22
Q

A node in a tree data structure that has no children, and is at the end of a branch in a tree.

A

Leaf

23
Q

A tree is a widely used abstract data type (ADT) or data structure implementing this ADT that simulates a hierarchical tree structure, with a root value and sub tree of children with a parent node, represented as a set of linked nodes.

A

Tree Topology