Term
|
Definition
|
|
Term
|
Definition
N(N+1)(N-1) ______________ 6 |
|
|
Term
|
Definition
|
|
Term
|
Definition
|
|
Term
Three Core Elements by which to assess a Data Structure |
|
Definition
Speed, Efficiency, Flexibility |
|
|
Term
|
Definition
|
|
Term
|
Definition
|
|
Term
Does 2^20 = [2^10]*[2^10]? |
|
Definition
|
|
Term
At which x does 2^x does an algorithm's processes become non-feasible by modern computing? |
|
Definition
|
|
Term
Name of log2N algorithm class |
|
Definition
|
|
Term
Name of N algorithm class |
|
Definition
|
|
Term
Name of NlogN algorithm class |
|
Definition
|
|
Term
Name of N^2 algorithm class |
|
Definition
|
|
Term
Name of N^3 algorithm class |
|
Definition
|
|
Term
Name of 2^N algorithm class |
|
Definition
|
|
Term
Name of N! algorithm class |
|
Definition
|
|
Term
Extreme best algorithm class |
|
Definition
|
|
Term
Polynomial Time (GOOD/BAD) |
|
Definition
|
|
Term
Super Polynomial Time (GOOD/BAD) |
|
Definition
|
|
Term
Big O refers to an algorithm's core growth being _______ than the growth of g |
|
Definition
|
|
Term
Big Sigma Notation to an algorithm's core growth being _______ than the growth of g |
|
Definition
|
|
Term
Big Theta notation refers to an algorithm's core growth being _________ than the growth of g |
|
Definition
|
|
Term
|
Definition
We say that T(n) is O(g(n)) if there exists constants c>0 and n0 >= 0 such that T(n) <= c * g(n) for all N >= n0 |
|
|
Term
|
Definition
We say that T(n) is O(g(n)) if there exists constants c>0 and n0 >= 0 such that T(n) <= c * g(n) for all N >= n0 |
|
|
Term
|
Definition
We say that T(n) is O(g(n)) if there exists constants c>0 and n0 >= 0 such that T(n) <= c * g(n) for all N >= n0 |
|
|
Term
|
Definition
We say that T(n) is O(g(n)) if there exists constants c>0 and n0 >= 0 such that T(n) <= c * g(n) for all N >= n0 |
|
|
Term
|
Definition
We say that T(n) is O(g(n)) if there exists constants c>0 and n0 >= 0 such that T(n) <= c * g(n) for all N >= n0 |
|
|
Term
|
Definition
We say that T(n) is O(g(n)) if there exists constants c>0 and n0 >= 0 such that T(n) <= c * g(n) for all N >= n0 |
|
|
Term
|
Definition
We say that T(n) is O(g(n)) if there exists constants c>0 and n0 >= 0 such that T(n) <= c * g(n) for all N >= n0 |
|
|
Term
|
Definition
We say that T(n) is O(g(n)) if there exists constants c>0 and n0 >= 0 such that T(n) <= c * g(n) for all N >= n0 |
|
|
Term
|
Definition
We say that T(n) is O(g(n)) if there exists constants c>0 and n0 >= 0 such that T(n) <= c * g(n) for all N >= n0 |
|
|
Term
|
Definition
We say that T(n) is O(g(n)) if there exists constants c>0 and n0 >= 0 such that T(n) <= c * g(n) for all N >= n0 |
|
|
Term
|
Definition
We say that T(n) is O(g(n)) if there exists constants c>0 and n0 >= 0 such that T(n) <= c * g(n) for all N >= n0 |
|
|
Term
|
Definition
We say that T(n) is O(g(n)) if there exists constants c>0 and n0 >= 0 such that T(n) <= c * g(n) for all N >= n0 |
|
|
Term
|
Definition
We say that T(n) is O(g(n)) if there exists constants c>0 and n0 >= 0 such that T(n) <= c * g(n) for all N >= n0 |
|
|
Term
Big O complexity of SEARCH in UNSORTED ARRAYS of size N |
|
Definition
|
|
Term
Big O complexity of INSERT in UNSORTED ARRAYS of size N |
|
Definition
|
|
Term
Big O complexity of DELETE in UNSORTED ARRAYS of size N |
|
Definition
|
|
Term
Big O complexity of DELETE in SORTED ARRAYS of size N |
|
Definition
|
|
Term
Big O complexity of INSERT in SORTED ARRAYS of size N |
|
Definition
|
|
Term
Big O complexity of SEARCH in SORTED ARRAYS |
|
Definition
|
|
Term
|
Definition
Go through entire array, select smallest value, insert it in to smallest space so far (starts at arr[0] ).
Go through entire array, select second smallest value, swap in to second smallest index arr[1]
Continue until no swaps occur. |
|
|
Term
|
Definition
Go through entire array, select smallest value, insert it in to smallest space so far (starts at arr[0] ).
Go through entire array, select second smallest value, swap in to second smallest index arr[1]
Continue until no swaps occur. |
|
|
Term
|
Definition
Go through entire array, select smallest value, insert it in to smallest space so far (starts at arr[0] ).
Go through entire array, select second smallest value, swap in to second smallest index arr[1]
Continue until no swaps occur. |
|
|
Term
|
Definition
Go through entire array, select smallest value, insert it in to smallest space so far (starts at arr[0] ).
Go through entire array, select second smallest value, swap in to second smallest index arr[1]
Continue until no swaps occur. |
|
|
Term
|
Definition
Goes through entire array comparing arr[current] to arr[prior] repeatedly until no swaps occur. |
|
|
Term
|
Definition
Goes through entire array comparing arr[current] to arr[prior] repeatedly until no swaps occur. |
|
|
Term
|
Definition
Goes through entire array comparing arr[current] to arr[prior] repeatedly until no swaps occur. |
|
|
Term
|
Definition
Goes through entire array comparing arr[current] to arr[prior] repeatedly until no swaps occur. |
|
|
Term
|
Definition
Goes through entire array comparing arr[current] to arr[prior] repeatedly until no swaps occur. |
|
|
Term
|
Definition
Goes through entire array comparing arr[current] to arr[prior] repeatedly until no swaps occur. |
|
|
Term
|
Definition
Creates subarrays that are already sorted. Takes in arr[subarr+1] and compares it to arr[subarr], then places it in its position within the subarray. Excels at sorting on-the-fly. |
|
|
Term
|
Definition
Creates subarrays that are already sorted. Takes in arr[subarr+1] and compares it to arr[subarr], then places it in its position within the subarray. Excels at sorting on-the-fly. |
|
|
Term
|
Definition
Creates subarrays that are already sorted. Takes in arr[subarr+1] and compares it to arr[subarr], then places it in its position within the subarray. Excels at sorting on-the-fly. |
|
|
Term
|
Definition
Creates subarrays that are already sorted. Takes in arr[subarr+1] and compares it to arr[subarr], then places it in its position within the subarray. Excels at sorting on-the-fly. |
|
|
Term
|
Definition
Creates subarrays that are already sorted. Takes in arr[subarr+1] and compares it to arr[subarr], then places it in its position within the subarray. Excels at sorting on-the-fly. |
|
|
Term
|
Definition
Creates subarrays that are already sorted. Takes in arr[subarr+1] and compares it to arr[subarr], then places it in its position within the subarray. Excels at sorting on-the-fly. |
|
|
Term
Efficiency of SEARCH, DELETE, AND INSERT in STACKS and QUEUES |
|
Definition
|
|
Term
ABSTRACT DATA TYPES STUDIED |
|
Definition
Stacks, Queues, Trees, Graphs |
|
|
Term
Tree Traversals: In Order Traversal |
|
Definition
Recurse Left; Process; Recurse Right |
|
|
Term
Tree Traversals: Pre-Order Traversal |
|
Definition
Process; Recurse Left; Recurse Right; |
|
|
Term
Tree Traversals: Post-Order Traversal |
|
Definition
Recurse Left; Recurse Right; Process; |
|
|
Term
Tree Traversals: Level-Order |
|
Definition
Traverse with a stack,
Process N; Add left child to stack; Add right child to stack; Add grandchildren to stack; |
|
|
Term
|
Definition
A Variable whose type is a class, just a reference, always a fixed size of 32b |
|
|
Term
|
Definition
a geometric shape with self similarity on infinitely many scales |
|
|
Term
|
Definition
The complexity relationship of a recursive algorithm. |
|
|
Term
|
Definition
direct subclasses of exception, usually indicate something that can't be controlled |
|
|
Term
|
Definition
direct subclasses of runtime exception. Doesn't have to be dealt with. |
|
|
Term
|
Definition
A non-linear data structure that represents a hierarchical relationship |
|
|
Term
|
Definition
|
|
Term
|
Definition
The "level" at which nodes may be at. Root = Level 0 |
|
|
Term
Trees: Every child has exactly _____ parent, except root |
|
Definition
|
|
Term
The descendants of a node are its ____________ |
|
Definition
|
|
Term
Tree: Subtree rooted at node X consists of X and |
|
Definition
all of its descendants including the edges that connect them |
|
|
Term
Tree: If X has no children, then the X subtree consists of_____ |
|
Definition
|
|
Term
Tree: A childless node is called a ______ |
|
Definition
|
|
Term
Tree: A non-leaf node is called an _______ |
|
Definition
|
|
Term
Tree: An empty tree has no_____ |
|
Definition
|
|
Term
Trees: Are cycles allowed? |
|
Definition
No. A child may not also be a parent, or have a lower level in the tree. |
|
|
Term
Trees: A binary tree node has at most ________ descendants. |
|
Definition
|
|
Term
Trees: Perfect binary trees |
|
Definition
has as many nodes as possible for its height |
|
|
Term
|
Definition
Every interior node has two children |
|
|
Term
|
Definition
|
|
Term
Graphs: A pair of vertices in set notation forms an______ |
|
Definition
|
|
Term
Graphs: Adjacent Vertices are ________ |
|
Definition
|
|
Term
Graphs: A path is a set of ______ |
|
Definition
a path from V to J is a sequence of vertices such that there is an edge from X1 to X1+1 for 1<= i <= k |
|
|
Term
|
Definition
no repeated vertices except for initial and final vertices |
|
|
Term
|
Definition
|
|
Term
Graphs: The minimum length of a simple cycle is _____ |
|
Definition
|
|
Term
Graphs: a graph is connected if _______ |
|
Definition
there is a path from every vertex to every other vertex |
|
|
Term
Graphs: a graph is not connected if ______ |
|
Definition
there exist different 'pieces' of the graph |
|
|
Term
Graphs: A graph is complete if _______ |
|
Definition
all vertices have all possible edges |
|
|
Term
Graphs: An adjacency matrix is _______ |
|
Definition
sometimes rep'd as a square 2D array, V in length, with 1's and 0's if connections exist. Mirrored about the middle. |
|
|
Term
Graphs: The degree of a node is ________ |
|
Definition
the number of neighbors it has |
|
|