Table of Contents

04 Adversarial I

How to search when someone is playing against us.

  1. Quizzes
  2. Recursive factorial implementation and analysis
  3. Learning about Reversi

Quiz I

Quiz II

Fibonacci Sequence

Program the recursive calculation of the Fibonacci sequence: $f(n) = f(n-1) + f(n-2)$.

Analyze the number of function calls and plunge depths.

Tree call:

Demo code:

Reversi: 2nd assigment