diff --git a/buggy.py b/buggy.py
--- a/buggy.py
+++ b/buggy.py
@@ -5,6 +5,8 @@
 import bisect
 import itertools
 import functools
-class Solution
-    def findKthLargest(self, nums: List[int], k: int -> int:
-        return sort(nums)[-k-1]
+
+
+class Solution:
+    def findKthLargest(self, nums: List[int], k: int) -> int:
+        return sorted(nums)[-k]
