complete problems/longest-consecutive-sequence/ by hash