C++ | JUST DO THIS SIMPLE PROCESSING
\nclass Solution {\npublic:\n    int getWinner(vector<int>& arr, int k) {\n       int top = arr[0]; \n        int comparision = 0;   \n        for(int i = 1; i<
```\nclass Solution {\npublic:\n    int getWinner(vector<int>& arr, int k) {\n       int top = arr[0]; \n        int comparision = 0;   \n        for(int i = 1; i< arr.size(); i++){ \n            if(arr[i] < top){ \n                comparision++; \n            }\n            else { \n           comparision = 1; \n                top = arr[i]; \n            }\n            if(comparision== k) return top; \n          }\n        return top; \n    }\n};\n```
['C']