[LC] Added solution to longest consecutive sequence.