The gaps would be computed as 2 (5 - 3), 6 (11 - 5), -7 (4 - 11), and 4 (8 4). Of these values, -7 is the smallest, so it would be returned. If you are passed an array with fewer than 2 elements, you should return 0. This gap information can be helpful for determining other properties of the array. For example, if the minimum gap is greater than or equal to 0, then you know the array is in sorted (non-decreasing) order. If the gap is greater than 0, then you know the array is both sorted and unique (strictly increasing