Skip to content

Commit 4b21eee

Browse files
authored
Update kth-distinct-string-in-an-array.py
1 parent f9a8a72 commit 4b21eee

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Python/kth-distinct-string-in-an-array.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 kthDistinct(self, arr, k):
69
"""

0 commit comments

Comments
 (0)