EECS 268 Lab

Recursion Rule Playground

Enter your own base case and recursive case. The app builds a recursion tree or flags infinite recursion.

Start Activity

Enter your name and student ID before using the recursion tool.

Example: factorial style: base `n === 0`, base return `1`, recursive `n * f(n - 1)`

Quick Examples