Skip to content

Commit 66a73e8

Browse files
authored
Update count-number-of-pairs-with-absolute-difference-k.py
1 parent bef7e46 commit 66a73e8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Python/count-number-of-pairs-with-absolute-difference-k.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# Time: O(n)
22
# Space: O(n)
33

4+
import collections
5+
6+
47
class Solution(object):
58
def countKDifference(self, nums, k):
69
"""

0 commit comments

Comments
 (0)