{"id":"repeated-n-times-linear-time","text":"`repeated_n_times` runs in O(n) time and O(n) space using set-based duplicate detection with early termination.","truth_value":"IN","source":"entries/2026/06/06/n-repeated-element-in-size-2n-array-solution.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"repeated-n-times-linear-time","truth_value":"IN","reason":"premise"}]}}