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 0dab597 commit f310a52Copy full SHA for f310a52
contains-duplicate/hj4645.py
@@ -7,4 +7,5 @@ def containsDuplicate(self, nums: List[int]) -> bool:
7
# Time Complexity
8
# - set(nums) → O(n)
9
# - len(nums), len(set(nums)) → O(1)
10
- # - Total: O(n) (n = number of list elements)
+ # - Total: O(n) (n = number of list elements)
11
+
0 commit comments