Term
|
Definition
a description of operations on a data type that could have multiple possible implementations. |
|
|
Term
|
Definition
in a tree, the union of a node's parent and the parent's ancestors. |
|
|
Term
|
Definition
a contiguous block of memory containing elements of the same type, accessed by numeric index. |
|
|
Term
|
Definition
a list of pairs, where each pair has a key and a value associated with that key. |
|
|
Term
|
Definition
in a tree search, to move back from the node currently being examined to its parent. |
|
|
Term
|
Definition
a simple case that can be solved easily, without recursion. |
|
|
Term
|
Definition
an abstracted function that describes the amount of computer time or memory space required by an algorithm, as a function of problem size. For problems larger than a certain size, the actual time or space required will be less than the big O multiplied by some constant. |
|
|
Term
|
Definition
a tree in which each node has at most two children. |
|
|
Term
|
Definition
search of a binary tree or other structure, in which the size of the set to be searched is cut in half at each step. |
|
|
Term
|
Definition
a number that is defined as an object, so that it has a runtime type and methods that can be used, e.g. Integer in Java. |
|
|
Term
|
Definition
in a search tree, the number of children of a given node. Often, the branching factors of individual nodes will vary, so an average value may be used. |
|
|
Term
|
Definition
in a tree, a node pointed to by a parent node. |
|
|
Term
|
Definition
a linked list in which the last element points back to the first element. |
|
|
Term
|
Definition
a queue implemented within an array, where the first element of the array logically follows the last element. |
|
|
Term
|
Definition
in object-oriented programming, a description of a set of similar objects. |
|
|
Term
|
Definition
1. in Lisp, the function that constructs a pair of pointers, or basic element of list structure. 2. to make a cons data structure. 3. a cons data structure. |
|
|
Term
|
Definition
describes a function that makes a new data structure but does not modify its arguments. |
|
|
Term
|
Definition
the number of links between the root of a tree and its leaves. |
|
|
Term
|
Definition
a search in which children of a node are considered (recursively) before siblings are considered. |
|
|
Term
|
Definition
to convert from a pointer(address) to the data that is pointed to. |
|
|
Term
|
Definition
all nodes below a given node in a tree. |
|
|
Term
|
Definition
a pattern that describes a set of similar programs. |
|
|
Term
|
Definition
describes a function that modifies its arguments. |
|
|
Term
|
Definition
|
|
Term
|
Definition
a problem-solving strategy in which a problem is broken down into sub-problems, until simple sub-problems are reached. |
|
|
Term
|
Definition
a linked list in which each element has backward and forward pointers. |
|
|
Term
|
Definition
describes a process in which every arriving customer will eventually be served. |
|
|
Term
|
Definition
first-in, first-out; describes the ordering of a queue. |
|
|
Term
|
Definition
a process that removes unwanted elements from a collection. |
|
|
Term
|
Definition
a way of implementing trees that uses two pointers per node but can represent an arbitrary number of children of a node. |
|
|
Term
|
Definition
storage that is no longer pointed to by any variable and therefore can no longer be accessed. |
|
|
Term
|
Definition
the process of collecting garbage for recycling. |
|
|
Term
|
Definition
describes a thought experiment or view of an entity. |
|
|
Term
|
Definition
an item (or description of items) being sought in a search. |
|
|
Term
|
Definition
a formal description of a language in terms of vocab and rules for writing phrases and sentences. |
|
|
Term
|
Definition
describes a data structure that cannot be changed once it has been created, such as Integer or String in Java. |
|
|
Term
|
Definition
an order of processing a tree in which the parent node is processed in between its children |
|
|
Term
|
Definition
a node of a tree that has children |
|
|
Term
|
Definition
given two sets, it's the set of elements that are members of both sets. |
|
|
Term
|
Definition
a problem that is so hard(typically exponential) that it cannot be solved unless the problem is small. |
|
|
Term
|
Definition
a tree node containing a contents value but with no children. |
|
|
Term
|
Definition
last-in, first-out; describes the order of a stack. |
|
|
Term
|
Definition
O(n), a problem whose solution requires a linear amount of time or space if the problem is size of n. |
|
|
Term
|
Definition
a pointer to the next element in a linked list. |
|
|
Term
|
Definition
a sequence of records, where each record contains a link to the next one. |
|
|
Term
|
Definition
to combine two ordered linear structures into one. |
|
|
Term
|
Definition
an element in a linked list, tree, or graph, often represented by a data structure. |
|
|
Term
|
Definition
a runtime error that occurs when an operation such as a method call is attempted on a null pointer. |
|
|
Term
|
Definition
a data structure that can be identified at runtime as being a member of a class |
|
|
Term
|
Definition
a description of the kinds of objects that exist in a computer program, e.g. a Java class hierarchy. |
|
|
Term
|
Definition
in a tree, a node that points to a given node. |
|
|
Term
|
Definition
in a search tree, a program that changes a state into a child state, e.g. a move in a game. |
|
|
Term
|
Definition
a variable containing the address of other data. |
|
|
Term
|
Definition
an order of processing a tree in which the parent node is processed after its children. |
|
|
Term
|
Definition
a way of processing a tree in which the parent node is processed before its children. |
|
|
Term
|
Definition
O(n^2), a problem whose solution requires a quadratic amount of time or space if the problem is of size n. |
|
|
Term
|
Definition
a data structure representing a sequence of items, which are removed in the same order as they were inserted. |
|
|
Term
|
Definition
describes a data structure or device in which all accesses have the same cost, O(1) |
|
|
Term
|
Definition
a case where a program calls itself. |
|
|
Term
|
Definition
a condition of the input data where the data will be handled by call(s) to the same problem. |
|
|
Term
|
Definition
|
|
Term
|
Definition
a type in which variables of that type are pointers to objects. |
|
|
Term
|
Definition
the top node of a tree, from which all other nodes can be reached. |
|
|
Term
|
Definition
a stack containing a stack frame of variable values for each active invocation of a procedure. |
|
|
Term
|
Definition
the area of program text over which a variable can be referenced. |
|
|
Term
|
Definition
to look through a data structure until a goal object is found. |
|
|
Term
|
Definition
an extra record at the start or end of a data structure such as a linked list, to simplify processing. |
|
|
Term
|
Definition
given two sets, the set difference is the set of elements of the first set that are not members of the second set. |
|
|
Term
|
Definition
to hide similar items with the same name. |
|
|
Term
|
Definition
any effect of a procedure other than returning a value, e.g. printing or modifying a data strucure. |
|
|
Term
|
Definition
to modify the order of a set of elements so that a desired ordering holds between them, e.g. alphabetic order. |
|
|
Term
|
Definition
a section of the runtime stack holding the values of all variables for one invocation of a procedure. |
|
|
Term
|
Definition
the amount of space on the runtime stack required for execution. |
|
|
Term
|
Definition
a description of the state of a process, such as a board game. |
|
|
Term
|
Definition
a case where two data structures share some elements. |
|
|
Term
|
Definition
the next element in a linked list. |
|
|
Term
|
Definition
a function whose value either does not involve a recursive call, or is exactly the value of a recursive call. |
|
|
Term
|
Definition
a classification of objects into a tree structure that groups related objects. |
|
|
Term
|
Definition
given two sets, the union is the set of elements that are members of either set. |
|
|
Term
|
Definition
an ordering that can be guaranteed to terminate, e.g. starting at a positive integer and counting down to 0. |
|
|
Term
|
Definition
Extensible Markup Language, a way of writing data in a tree-structured form by enclosing its tags. |
|
|