From 05162dd354065dd899405088b4cf4177393e80d2 Mon Sep 17 00:00:00 2001 From: souvikghosh05 Date: Wed, 3 Nov 2021 22:08:05 +0530 Subject: [PATCH] further fixed with type casting --- maths/iterative_pair.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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