We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ba287b commit 3e4c52aCopy full SHA for 3e4c52a
daily/2019-06-04.md
@@ -16,7 +16,7 @@ Return the starting gas station's index if you can travel around the circuit onc
16
## 参考答案
17
1.暴力求解,时间复杂度O(n^2)
18
>
19
-我们可以一次遍历gas,对于每一个gas我们依次遍历后面的gas,计算remian,如果remain一旦小于0,就说明不行,我们继续遍历下一个
+我们可以一次遍历gas,对于每一个gas我们依次遍历后面的gas,计算remain,如果remain一旦小于0,就说明不行,我们继续遍历下一个
20
```js
21
// bad 时间复杂度0(n^2)
22
let remain = 0;
@@ -74,3 +74,8 @@ return total >= 0? start : -1;
74
## 优秀解答
75
76
>暂缺
77
+
78
79
80
81
daily/2019-07-25.md
@@ -30,7 +30,7 @@ Example 3:
30
31
Follow up:
32
33
- Coud you solve it without converting the integer to a string?
+ Could you solve it without converting the integer to a string?
34
```
35
36
0 commit comments