Sponsored
Use these hints if you're stuck. Try solving on your own first.
Traverse linked list and try to find pairs.
For each team, keep the number of its winning games in a variable.
Compare the winning variables and find the answer.
Solve with full IDE support and test cases