End of Year Sale: Use Coupon Code END2025 to Get Extra 25% Off.
difference = (arr[-1] - arr[0]) / len(arr).expected = arr[0].i, calculate the expected value at that index expected += difference.i does not match the expected value, return the expected value as the missing number.