Problem 961 · Easy

N-Repeated Element in Size 2N Array

In an array of double length, one value appears exactly half the time, and the task is to find it. The visual shows a tally of counts as values are checked.

Open the interactive visualisation