We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1fa933c + d20bd2d commit 9e86cffCopy full SHA for 9e86cff
python/215-Kth-Largest-Element-in-an-Array.py
@@ -9,8 +9,6 @@ def findKthLargest(self, nums: List[int], k: int) -> int:
9
nums.sort()
10
return nums[len(nums) - k]
11
12
- k = len(nums) - k
13
-
14
15
# Solution: QuickSelect
16
# Time Complexity:
0 commit comments