Unit 2 - Algorithms

Searching: Linear Search, Binary Search. Sorting: Bubble Sort, Selection Sort, Merge Sort. Asymptotic Notation. Recursion.

Lecture

Source Code

Resources

Shorts
  1. Linear Search
  2. Binary Search
  3. Bubble Sort
  4. Selection Sort
  5. Recursion
  6. Merge Sort
  7. Algorithm Summary
Reference Sheets

Practice, Problems & EC

Advice

  • Try out David’s programs from class via Unit 2’s examples
  • If you see any errors when compiling your code with make, focus first on fixing the very first error you see, scrolling up as needed. If unsure what it means, try asking help50 for help. For instance, if trying to compile plurality, and
make plurality 

is yielding errors, try running

help50 make plurality

instead!