LeetCode-Problems
/
0169. Majority Element
/
169. Majority Element.py
169. Majority Element.py
Raw
class
Solution
:
def
majorityElement
(
self
,
nums
:
List
[
int
]
)
-
>
int
:
return
mode
(
nums
)