← Back

Temple of the Mekong

Recursion

Temple of the Mekong

On the sacred banks of the Mekong River stands a temple where the flow of water mirrors the flow of logic...

🧙

Temple Guardian

Welcome, philosopher. Understand how functions call themselves to solve complex problems.

Use recursion to count the river's water levels down to the ocean.

Drag Blocks Here

Available Blocks

function
callSelf
baseCase
recursiveCase
Drag blocks to build your solution

Your Sequence

Drag blocks here to create your solution...

Cultural Fact:

The Mekong River is Southeast Asia's lifeline, flowing through six countries and sustaining millions of people.