An array of distinct integers, find length of the longest sub array which contains numbers that can be arranged in a continuous sequence.
Tag - sum array javascript
An array of distinct integers, find length of the longest subarray which contains numbers that can be arranged in a continuous sequence.
we have discussed a solution that assumes that elements in given array are distinct. Here we discuss a solution that works even if the input array.