Software Engineer/Developer Interview Question: 128. Longest Consecutive Sequence

Solved by 360Interview AI assistant - Given an unsorted array of integers nums, return the length of the longest consecutive elements sequence. You must write an algorithm that runs in O(n) time. #360interviewai #interviewquestions #softewareengineer #leetcode #leetcodesolution

Solved by 360Interview AI assistant - Given an unsorted array of integers nums, return the length of the longest consecutive elements sequence.You must write an algorithm that runs in O(n) time.#360interviewai #interviewquestions #softewareengineer #leetcode #leetcodesolution