Problem 3062 · Medium

Winner of the Linked List Game

Pair up nodes from the head, award a point to the larger value in each pair, and report the team with more points.

Open the interactive visualisation