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 2ae0397

Browse files
Update 593._Valid_Square.md
1 parent 48f2a33 commit 2ae0397

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎docs/Leetcode_Solutions/593._Valid_Square.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,4 +198,4 @@ class Solution(object):
198198
- 然后我们用2个for loop去确定好2个点,根据正方形的性质我们就可以自己算出正方形的另外两个点了
199199
- 随后我们判断这两个点是否在我们的字典里面
200200

201-
这样我们最终的时间复杂度是O(N^2),时间复杂度是O(N),完美!!
201+
这样我们最终的时间复杂度是O(N^2),空间复杂度是O(N),完美!!

0 commit comments

Comments
(0)

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