55561bc4创建于 2022年12月27日历史提交
class Solution:
    def kthLargestNumber(self, nums: List[str], k: int) -> str:
        maxHeap = [-int(n) for n in nums]
        heapq.heapify(maxHeap)
        while k>1:
            heapq.heappop(maxHeap)
            k-=1
        return str(-maxHeap[0])