what if we use dp to find best path with maximum interesting cell. then we trace the path and convert all the cells in path into empty cell, then again use same dp to find best path
what if we use dp to find best path with maximum interesting cell. then we trace the path and convert all the cells in path into empty cell, then again use same dp to find best path