Skip to content

Commit 89f9573

Browse files
authored
Update 0063.不同路径II.md
修正typescript方法2的函數名稱
1 parent 081e27d commit 89f9573

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

problems/0063.不同路径II.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@ function uniquePathsWithObstacles(obstacleGrid: number[][]): number {
552552
553553
// 版本二: dp改為使用一維陣列,從終點開始遍歷
554554
```typescript
555-
function uniquePathsWithObstacles2(obstacleGrid: number[][]): number {
555+
function uniquePathsWithObstacles(obstacleGrid: number[][]): number {
556556
const m = obstacleGrid.length;
557557
const n = obstacleGrid[0].length;
558558

0 commit comments

Comments
 (0)