1/18
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced |
|---|
No study sessions yet.
Search Algorithms
method for finding an item or group of items with specific properties within a collection of items that could be implicit or explicit
Searching Algorithms

When does it make sense to sort then search?

Amortized cost — n is len(L)
in some cases, may sort a list once then do many searches

Monkey Sort

Complexity of Bogo Sort

Bubble Sort

Complexity of Bubble Sort

Selection Sort

Loop Invariant

Complexity of Selection Sort

Merge Sort

Complexity of Merging Sublists Step

Merge Sort Algorithm - Recursive

Complexity of Merge Sort

Sorting Summary - n is len(L)

What do Computer Scientists do?

The 3 A’s of Computational Thinking

Aspects of Computational Thinking
