Search Algorithms Flashcards

1
Q

Binary search

A

Works with an ordered list
Algorithm keeps on dividing list in half until item is matched with one in the list

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

Linear

A

Do not have to be in order
Starts with first , moves through list intil item found

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