Count of Matches in Tournament LeetCode solution in Python

1
class Solution:
2
def numberOfMatches(self, n: int) -> int:
3
return n - 1

0

WPM •0 •0

100%

ACC •0 •0

0s

TIME •0