← LessonsCREATOR PATH Β· 10–12🏜️

Oasis Dynamic Route

LESSON 140
🎯 Today's missions
🏜️πŸͺ🧭
DESERT OASIS

Oasis Dynamic Route

A sandstorm buried the caravan map! Build a route planner that solves each smaller journey once, remembers the answer, and reveals the cheapest safe path to water.

🧠 Before we start

Blossom Bloom Filter used tiny marks to remember possible membership. Today, dynamic programming remembers exact answers to repeated smaller problems, so the planner never solves the same desert route twice.

🧩 Splitβ†’πŸ Base caseβ†’πŸ’Ύ Save best→♻️ Reuse
Challenge 1 of 4Build the strategy
1

Build the remembering strategy

Arrange the visual instruction cards. Start with a tiny known answer, grow toward camp, and save each best result for later travelers.

DYNAMIC PROGRAM Β· SOLVE EACH SUBPROBLEM ONCE
1 Β· START
2 Β· COMPARE
3 Β· SAVE
4 Β· REUSE

🌟 What you learned

Come back tomorrow for another advanced visual coding adventure! ✨