Note Can use sets for this problem. Keep in mind that sets are O(1) access References https://leetcode.com/problems/longest-consecutive-sequence/