further fixed with type casting

This commit is contained in:
souvikghosh05 2021-11-03 22:08:05 +05:30
parent b71d224c00
commit 05162dd354
No known key found for this signature in database
GPG Key ID: 1CE1EF8556B0B862

View File

@ -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