Python 3 solution using array methods
\n\nclass Solution:\n    def getWinner(self, arr: List[int], k: int) -> int:\n        if k >= len(arr): return max(arr)\n\n        resultIndex = 0\n        maxI
\n```\nclass Solution:\n    def getWinner(self, arr: List[int], k: int) -> int:\n        if k >= len(arr): return max(arr)\n\n        resultIndex = 0\n        maxInK = max(arr[resultIndex:resultIndex+k+1])\n        while arr[resultIndex] < maxInK:\n            resultIndex = arr.index(maxInK)\n            maxInK = max(arr[resultIndex:resultIndex+k])\n\n        return arr[resultIndex]\n```
['Array', 'Python3']