repeated-n-times-linear-time

Status: IN

`repeated_n_times` runs in O(n) time and O(n) space using set-based duplicate detection with early termination.

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

JSON