002 peel hanoi unrolls

✓ Passing This code compiles and runs correctly.

Code

input.k

Actual

15

Expected output

15

Flows

subflow ~hanoi click a branch to expand · @labels scroll to their anchor
if (n == 0)
flow ~hanoi click a branch to expand · @labels scroll to their anchor
hanoi (n: 4, acc: 0)

Test Configuration

MUST_RUN

Post-validation Script: