longest_streak(days) returning the length of the longest run of consecutive numbers. Aim for O(n): use a set and only start counting from numbers that begin a run.longest_streak([100, 4, 200, 1, 3, 2])
4
The run 1,2,3,4 has length 4.
A number n starts a run only if n-1 is absent from the set.
From each run start, count upward while n+1 is present.