Dynamic programming: never solve the same thing twiceLesson 5 of 6

The cheapest route across Chawkbazar

Change + to min and the route table finds the fastest route: 7 minutes. The quickest next block gives 9.

Locked

Unlock the rest of Algorithms and Data Structures: what everything costs.

  • Every lesson, every resource, unlocked instantly.
  • Track progress and pick up where you left off.
  • Free preview lessons stay readable from the outline.

From

BDT 0

Enrol now