We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1159f47 commit c4ce20fCopy full SHA for c4ce20f
problems/167.two-sum-ii-input-array-is-sorted.md
@@ -92,3 +92,14 @@ class Solution:
92
if numbers[left] + numbers[right] == target:
93
return [left+1, right+1]
94
```
95
+
96
+**复杂度分析**
97
+- 时间复杂度:$O(N)$
98
+- 空间复杂度:$O(1)$
99
100
+更多题解可以访问我的LeetCode题解仓库:https://github.com/azl397985856/leetcode 。 目前已经30K star啦。
101
102
+关注公众号力扣加加,努力用清晰直白的语言还原解题思路,并且有大量图解,手把手教你识别套路,高效刷题。
103
104
105
+
0 commit comments