degree-single-pass-three-dicts

Status: IN

The degree-of-an-array solution populates `count`, `first`, and `last` dictionaries in a single O(n) enumeration, then reduces over degree-tied elements to find the minimum span — no second scan of the input.

Source: entries/2026/06/06/degree-of-an-array-solution.md

JSON