← ALL NOTES
Array

1301. Number of Paths with Max Score

On an n×n board, start at the bottom-right 'S', reach the top-left 'E', moving only up, left, or diagonally up-left onto non-obstacle cells; digits 1–9 are collected, 'X' blocks. Return the maximum…

Loading…