NamasteScale needs JavaScript to run. Enable it to practise system design, low level design and machine coding.
Length of the longest run of consecutive integers, in O(n).