repeated-n-times-early-return

Status: IN

`repeated_n_times` returns inside the loop body with no post-loop return; it relies on the problem guarantee that a duplicate always exists, and returns `None` implicitly if called with all-unique input.

Source: entries/2026/06/06/n-repeated-element-in-size-2n-array-solution.md

JSON