C %100 %100
\nint getWinner(int *arr, int arrSize, int k) {\n    for (int i = 0; i < arrSize - 1; i++) {\n        int start = i == 0 ? 0 : 1;\n        int steps = start;\n 
```\nint getWinner(int *arr, int arrSize, int k) {\n    for (int i = 0; i < arrSize - 1; i++) {\n        int start = i == 0 ? 0 : 1;\n        int steps = start;\n        if (steps == k) return arr[i];\n        int j = i + 1;\n        for (; j < arrSize; j++) {\n            if (arr[i] > arr[j]) steps++; else break;\n            if (steps == k) return arr[i];\n        }\n        if (j == arrSize) return arr[i];\n        i += steps - start;\n    }\n    return arr[arrSize - 1];\n}\n```
['C']