Skip to content

Commit 9e86cff

Browse files
authored
Merge pull request #1137 from diohabara/diohabara/fix-215
fix(python): remove redundant code
2 parents 1fa933c + d20bd2d commit 9e86cff

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Diff for: python/215-Kth-Largest-Element-in-an-Array.py

-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ def findKthLargest(self, nums: List[int], k: int) -> int:
99
nums.sort()
1010
return nums[len(nums) - k]
1111

12-
k = len(nums) - k
13-
1412

1513
# Solution: QuickSelect
1614
# Time Complexity:

0 commit comments

Comments
 (0)