Find the Kth Largest Integer in the Array LeetCode solution in Python

1
class Solution:
2
def kthLargestNumber(self, nums: List[str], k: int) -> str:
3
nums = sorted(map(int, nums), reverse=True)
4
return str(nums[k - 1])

0

WPM •0 •0

100%

ACC •0 •0

0s

TIME •0