mirror of
https://github.com/TheAlgorithms/Python.git
synced 2024-11-30 16:31:08 +00:00
further fixed with type casting
This commit is contained in:
parent
b71d224c00
commit
05162dd354
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user