Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit dbfc891

Browse files
author
robot
committed
2 parents b632742 + cd1f1a9 commit dbfc891

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

‎daily/2019-06-04.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Return the starting gas station's index if you can travel around the circuit onc
1616
## 参考答案
1717
1.暴力求解,时间复杂度O(n^2)
1818
>
19-
我们可以一次遍历gas,对于每一个gas我们依次遍历后面的gas,计算remian,如果remain一旦小于0,就说明不行,我们继续遍历下一个
19+
我们可以一次遍历gas,对于每一个gas我们依次遍历后面的gas,计算remain,如果remain一旦小于0,就说明不行,我们继续遍历下一个
2020
```js
2121
// bad 时间复杂度0(n^2)
2222
let remain = 0;
@@ -74,3 +74,8 @@ return total >= 0? start : -1;
7474
## 优秀解答
7575

7676
>暂缺
77+
78+
79+
80+
81+

‎daily/2019-07-25.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Example 3:
3030
3131
Follow up:
3232
33-
Coud you solve it without converting the integer to a string?
33+
Could you solve it without converting the integer to a string?
3434
```
3535

3636
## 参考答案

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /