Time Complexity For “Longest Consecutive Sequence” Leetcode problem solution
SO I had question regarding the time complexity for my solution for the leetcode problem “Longest Consecutive Sequence”, the problem statement is this: Given an unsorted array of integers nums, return the length of the longest consecutive elements sequence.