Last Updated: November 2026
You are given a table of tennis players and their matches that they could either win (W) or lose (L). Find the longest streak of wins. A streak is a set of consecutive won matches of one player. The streak ends once a player loses their next match.
pandas.DataFrame
See the full interview round by round, with questions for each stage.