{"id":"leftovers-equals-odd-frequency-count","text":"The `leftovers` value returned by `count_pairs_leftovers` equals the number of distinct values in `nums` that appear an odd number of times, since each contributes exactly `count % 2 == 1`.","truth_value":"IN","source":"entries/2026/06/06/maximum-number-of-pairs-in-array-solution.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"leftovers-equals-odd-frequency-count","truth_value":"IN","reason":"premise"}]}}