Longest consecutive sequence in Binary tree - GeeksforGeeks
[Solved] 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. - Machine Learning Projects
Solving longest consecutive sequence in an array using Swift | Exploring Swift