Michael B. Gousie - Wheaton College, MA

Comp 318 - Algorithms (Spring 2026)

In-Class Examples/Links

Algorithm Analysis (Ch. 2)

  • bin.cpp - converting a decimal integer to binary recursively.
  • tower.cpp - Tower of Hanoi problem, the classic recursive problem.
  • fact.cpp - recursive factorial problem and empirical analysis.
  • fib.cpp - comparing performance of computing Fibonacci numbers recursively and iteratively.
  • fibgraph.jpg - graph of empirical results of running fib.cpp.

Brute Force Algorithms (sorting and more) (Ch. 3)

Decrease-n-Conquer (Ch. 4)

Projects/Homework

Last updated
Home | Comp 198 | Comp 220 | Comp 318 | Research | Anti-Research