longest_consecutive_sequence AC