fixed naming conventions

This commit is contained in:
souvikghosh05 2021-11-03 22:17:05 +05:30
parent 05162dd354
commit b7df4ff8a9
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: int, ar: list[int]) -> int:
def sock_merchant(n: int, ar: list[int]) -> int:
"""
>>> sockMerchant(9, [10, 20, 20, 10, 10, 30, 50, 10, 20])
3
@ -25,6 +25,6 @@ if __name__ == "__main__":
ar = list(map(int, input().rstrip().split()))
result = sockMerchant(n, ar)
result = sock_merchant(n, ar)
print(result)
doctest.testmod()