chapter 5 Flashcards
1
Q
whats the optimal solutions for seaeching unsorted array
Vs
sorted array
A
n
log n
2
Q
what are in-place alogrthim and mention exampels of it
A
rearrange the elements within the array with at most a constant number stored outside the array at any time
3
Q
A
3
Q
A
4
Q
A