Linked lists
Stacks
Queues
Deque
D. Deque
O(n)
O(log )
O(n2)
O(n log n)
O(n)
O(log n)
O(n2)
O(n log n)
Application level
Abstract level
Implementation level
All of the above
sorted linked list
sorted binary trees
sorted linear array
pointer array
Counting the maximum memory needed by the algorithm
Counting the minimum memory needed by the algorithm
Counting the average memory needed by the algorithm
Counting the maximum disk space needed by the algorithm
Graph
Binary tree
Trees
Stack
O(n)
O(log n)
O(n2)
O(n log n)
the name of array
the data type of array
the index set of the array
the first data from the set to be stored
3 additions and 2 deletions
2 deletions and 3 additions
3 deletions and 4 additions
3 deletions and 3 additions
must use a sorted array
requirement of sorted array is expensive when a lot of insertion and deletions are needed
there must be a mechanism to access middle element directly
binary search algorithm is not efficient when the data elements are more than 1000.
Operations
Algorithms
Storage Structures
None of above
floor address
foundation address
first address
base address
Tree
Graph
Priority
Dequeue
LOC(Array[5]=Base(Array)+w(5-lower bound), where w is the number of words per memory cell for the array
LOC(Array[5])=Base(Array[5])+(5-lower bound), where w is the number of words per memory cell for the array
LOC(Array[5])=Base(Array[4])+(5-Upper bound), where w is the number of words per memory cell for the array
None of above
internal change
inter-module change
side effect
side-module update
FIFO lists
LIFO list
Piles
Push-down lists
Counting microseconds
Counting the number of key operations
Counting the number of statements
Counting the kilobytes of algorithm
Stack
Input restricted dequeue
Priority queues
Output restricted qequeue
push, pop
insert, delete
pop, push
delete, insert
Sorting
Merging
Inserting
Traversal
AVL tree
Red-black tree
Lemma tree
None of the above
Best case
Null case
Worst case
Average case
for relatively permanent collections of data
for the size of the structure and the data in the structure are constantly changing
for both of above situation
for none of above situation
underflow
overflow
housefull
saturated
O(n)
O(log n)
O(n2)
O(n log n)
elementary items
atoms
scalars
all of above
Lists
Strings
Graph
Stacks
Stacks
Dequeues
Queues
Binary search tree
Arrays
Linked lists
Both of above
None of above
Array
Stack
Tree
queue