← ALL NOTES
Array

3651. Minimum Cost Path with Teleportations

A grid grid of costs. From a cell you may move right or down, paying the cell's cost. Additionally, up to k times you may "teleport" from the current cell to any cell with cost ≤ the current one —…

Loading…