Given an unsorted array, return the length of the longest sequence of consecutive integers. Run in O(n) time.
Practise this challenge
All coding challenges