diff --git a/maths/iterative_pair.py b/maths/iterative_pair.py index 369cff26d..a8a6d3226 100644 --- a/maths/iterative_pair.py +++ b/maths/iterative_pair.py @@ -2,7 +2,7 @@ import doctest from collections import Counter -def sockMerchant(n, ar): +def sockMerchant(n: int, ar: list[int]) -> int: """ >>> sockMerchant(9, [10, 20, 20, 10, 10, 30, 50, 10, 20]) 3