Problem 3742 · Medium
Track the best score for each cell and each total cost, moving only right or down within the budget k.
Open the interactive visualisation