diff --git a/1501-2000/1512.py b/1501-2000/1512.py index 2fd4a2c..aadbb1e 100644 --- a/1501-2000/1512.py +++ b/1501-2000/1512.py @@ -17,11 +17,8 @@ def numIdenticalPairs(self, nums): memory[num]+=1 else: memory[num]=1 - return count - - # Bruteforce approach class Solution(object): def numIdenticalPairs(self, nums):