Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 1688. Count of Matches in Tournament
Given n teams that play rounds where each match eliminates one team (even rounds pair all teams, odd rounds leave one team advancing), compute the total number of matches played until one winner remains. Key insight: the total matches equal n - 1 (equivalently sum floor(current_n/2) each round).
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.