Master this deck with 47 terms through effective study methods.
Generated from uploaded pdf
A specialized format for organizing and storing data.
A program.
Storage structure.
File structure.
Organization of data, accessing method, degree of associativity, processing alternative.
Primitive and non-primitive.
Integer, float, character, pointer.
The memory address of another variable.
Array, list, and file.
Static and dynamic memory allocation.
PUSH for insertion, POP for deletion.
FRONT deletes, REAR inserts.
Tree and graph.
As a restricted graph.
Merging.
Traversing.
A value and an index.
0 to n − 1.
Accesses the element at that index.
Static: values at declaration; dynamic: values at execution.
A garbage value.
data-type arrayName[row][col].
One-dimensional, two-dimensional, multidimensional.
A linear collection of nodes where each node points to the next.
Data and next.
The first node.
NULL.
Array O(1); linked list O(n) due to traversal.
Singly, doubly, circular.
Doubly linked list.
Back to the head.
O(n).
O(1).
The new node's next pointer.
Make the previous node skip over it.
Deleting the head, an empty list, value not found.
Delete is a C++ keyword.
To prevent memory leaks.
O(n).
3 comparisons.
Flips the next pointers to reverse the list.
Fast moves two nodes per round, slow moves one.
3 (the second middle).
Doubly linked list.
Dynamic size and fast insert/delete.
No random access and pointer overhead.
Music playlists, browser history, undo/redo.