Available question text
Given unique skill levels in queue order, repeatedly compare the first two players, keep the higher as the current champion (loser goes to the back), and return the initial index of the first player who wins k games in a row. Note: n can be up to 1e5 and k up to 1e9, so solutions should avoid naive long simulations and exploit that the global maximum will eventually dominate.
Related questions
Continue with questions that share topics or the same question type.
- Find First and Last Position of Element in Sorted Array
Coding · Array · Binary Search
- Find First Palindromic String in the Array
Coding
- Find Largest Value in Each Tree Row
Coding
- Find the First Working Version
Coding
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 3175. Find The First Player to win K Games in a Row
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source