Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
7 Cards in this Set
- Front
- Back
What arguments does a search algorithm take? |
Datum, data structure |
|
What does a search algorithm return if the item is found within the data structure? |
The index at which the datum is found |
|
What does the search algorithm return if the item could not be found within the data structure? |
A special value to indicate this |
|
What is a selection algorithm? |
Find datum with a specific property
|
|
What is an example of a selection algorithm? |
Finding the median of a list of items |
|
What is a matching algorithm? |
Finding a pattern within a data structure |
|
What is an example of a matching algorithm? |
Finding a substring within a string |