func main() {
nums := []int{100, 4, 200, 1, 3, 2}
fmt.Println("Longest consecutive sequence length is:", longestConsecutive(nums))
}
2024-10-16 07:10:39
func main() {
nums := []int{100, 4, 200, 1, 3, 2}
fmt.Println("Longest consecutive sequence length is:", longestConsecutive(nums))
}