We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 081e27d commit 89f9573Copy full SHA for 89f9573
problems/0063.不同路径II.md
@@ -552,7 +552,7 @@ function uniquePathsWithObstacles(obstacleGrid: number[][]): number {
552
553
// 版本二: dp改為使用一維陣列,從終點開始遍歷
554
```typescript
555
-function uniquePathsWithObstacles2(obstacleGrid: number[][]): number {
+function uniquePathsWithObstacles(obstacleGrid: number[][]): number {
556
const m = obstacleGrid.length;
557
const n = obstacleGrid[0].length;
558
0 commit comments