The rights holders come back with the real fixture list.
matches = [[f"player{i}", f"player{i+1}"] for i in range(50_000)]Run it.
- What is the time and space complexity of your solution, in terms of the number of players and the number of matches?
- If it fails, why does it fail at roughly the size it fails at?
- Fix it. Then explain why your fix is a real fix rather than a bigger bucket.