Skip to content

Commit 05162dd

Browse files
committed
further fixed with type casting
1 parent b71d224 commit 05162dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

maths/iterative_pair.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
from collections import Counter
33

44

5-
def sockMerchant(n, ar):
5+
def sockMerchant(n: int, ar: list[int]) -> int:
66
"""
77
>>> sockMerchant(9, [10, 20, 20, 10, 10, 30, 50, 10, 20])
88
3

0 commit comments

Comments
 (0)