Skip to content

Commit 5c3ab04

Browse files
Merge pull request youngyangyang04#1162 from speedzjy/master
更新 0134.加油站.md, 将暴力解法代码块后的空间复杂度说明由O(n)改为O(1)
2 parents 5d5bf75 + 1856401 commit 5c3ab04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

problems/0134.加油站.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public:
7878
```
7979
8080
* 时间复杂度:$O(n^2)$
81-
* 空间复杂度:$O(n)$
81+
* 空间复杂度:$O(1)$
8282
8383
C++暴力解法在leetcode上提交也可以过。
8484

0 commit comments

Comments
 (0)