Search algorithms.

?
  • Created by: C4B1E
  • Created on: 14-11-18 14:53
What does a binary search do?
Searches for items in an ordered list.
1 of 5
What does a linear search do?
Searches for items in unsorted lists along a line.
2 of 5
Advantages of binary search.
Quicker when there is a long ordered list.
3 of 5
Advantages of linear search.
Quicker when there is a short unsorted list. Much more simple.
4 of 5
When are both search algorithms about the same(efficiency).
In short sorted list.
5 of 5

Other cards in this set

Card 2

Front

What does a linear search do?

Back

Searches for items in unsorted lists along a line.

Card 3

Front

Advantages of binary search.

Back

Preview of the front of card 3

Card 4

Front

Advantages of linear search.

Back

Preview of the front of card 4

Card 5

Front

When are both search algorithms about the same(efficiency).

Back

Preview of the front of card 5

Comments

C4B1E

Report

this is good sheet.

C4B1E

Report

may luk be wit u

Bulberman

Report

Thank you Kanye very cool!

Similar Computing resources:

See all Computing resources »See all Programming resources »