Tennis Tournament: Play the Rounds and Seed the Bracket
Asked at Uber · Coding Questions · Difficulty: Medium · Last asked May 23, 2026
A tennis club runs single-elimination tournaments. First, write a function that plays a tournament from a given draw and prints who is left after every round. Then, as a follow-up, write a function that produces a fair draw, so that the strongest players meet as late as possible.
Loading the problem…