chapter 5 Flashcards

1
Q

whats the optimal solutions for seaeching unsorted array

Vs

sorted array

A

n

log n

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly