Problem 1810 · Medium

Minimum Path Cost in a Hidden Grid

A robot learns the cost of each cell only by stepping into it.

Open the interactive visualisation