Given an unsorted list of integers, find the length of the longest run of consecutive values — in linear time.
Given an unsorted list of integers, find the length of the longest run of consecutive values — in linear time.
The discussion opens with the full question.