Skip to content

Commit b86cef7

Browse files
authored
Update Longest Substring Without Repeating Characters - Leetcode 3.py
1 parent 6a4d41b commit b86cef7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Longest Substring Without Repeating Characters - Leetcode 3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ def lengthOfLongestSubstring(self, s: str) -> int:
1616

1717
return longest
1818

19-
# Time Complexity: O(n^2)
19+
# Time Complexity: O(n)
2020
# Space Complexity: O(n)

0 commit comments

Comments
 (0)