← Back to course
Intro to CS 9-10 / Week 07
Week 07

Search, Speed and Limits

// Binary search, counting steps, heuristics and problems no algorithm can solve

Binary search starts at the middle of sorted data and eliminates half of it with each check, so it is often far faster than linear search. Efficiency can be measured by counting steps as the input grows. Some problems have no efficient algorithm, so people use heuristics, and some problems are undecidable: no algorithm can always answer them correctly.

DAYS THIS WEEK

MONDAY

Monday

18 blocks · 5 graded

TUESDAY

Tuesday

21 blocks · 5 graded

WEDNESDAY

Wednesday

13 blocks · 2 graded

THURSDAY

Thursday

20 blocks · 4 graded

FRIDAY

Friday

14 blocks · 5 graded

MISSION QUEST

Mission Quest

9 blocks · 2 graded

← All weeks 📊 Week review →