Skip to content

Commit

Permalink
fix typos in daily problems of 2019:
Browse files Browse the repository at this point in the history
  • Loading branch information
SauravShrestha04 committed Dec 19, 2023
1 parent 8ba287b commit 3e4c52a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion daily/2019-06-04.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Return the starting gas station's index if you can travel around the circuit onc
## 参考答案
1.暴力求解,时间复杂度O(n^2)
>
我们可以一次遍历gas,对于每一个gas我们依次遍历后面的gas,计算remian,如果remain一旦小于0,就说明不行,我们继续遍历下一个
我们可以一次遍历gas,对于每一个gas我们依次遍历后面的gas,计算remain,如果remain一旦小于0,就说明不行,我们继续遍历下一个
```js
// bad 时间复杂度0(n^2)
let remain = 0;
Expand Down Expand Up @@ -74,3 +74,8 @@ return total >= 0? start : -1;
## 优秀解答

>暂缺




2 changes: 1 addition & 1 deletion daily/2019-07-25.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Example 3:
Follow up:
Coud you solve it without converting the integer to a string?
Could you solve it without converting the integer to a string?
```

## 参考答案
Expand Down

0 comments on commit 3e4c52a

Please sign in to comment.