Simple Recursive

Factorial

Multiplies n by factorial(n - 1) until the base case is reached.

State view

Factorial

step 1
Variables
No scalar variables on this step.
Collections
No collection patches on this step.
speed
1.00x
timeline1 / 16

Variables

0 tracked

Variables appear as the algorithm updates them.

Call stack

0 frames

Recursive algorithms push frames here.

Event log

0 entries

Narrated algorithm events appear here.