forked from youngyangyang04/leetcode-master
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
更新 0134.加油站.md, 将暴力解法代码块后的空间复杂度说明由O(n)改为O(1)
- Loading branch information
Showing
1 changed file
with
1 addition
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -78,7 +78,7 @@ public: | |
``` | ||
* 时间复杂度:$O(n^2)$ | ||
* 空间复杂度:$O(n)$ | ||
* 空间复杂度:$O(1)$ | ||
C++暴力解法在leetcode上提交也可以过。 | ||
|