Given an array of distinct integers, find length of the longest subarray which contains numbers that can be arranged in a continuous sequence.
Examples:
Input: arr[] = {10, 12, 11};
Output: Length of the longest contiguous subarray is 3
Length of the largest subarray with contiguous elements _ Set 1:
https://www.geeksforgeeks.org/length-largest-subarray-contiguous-elements-set-1/