CodeSignal: TennisSet
Sometimes the code is cleaner if there is some pre-determination or pre-categorization of possible values. Take this problem:
In tennis, the winner of a set is based on how many games each player wins. The first player to win 6 games is declared the ...
wind010.hashnode.dev2 min read