A Luxoft India vehicle telemetry component receives a sorted array containing distinct integers from an inclusive range, but exactly one value is missing. Given the array and the range boundaries, return the missing integer without scanning every element.
Use binary search to locate the first index where the actual value differs from the expected consecutive value.
Implement missing_element(nums, start, end), where nums is a sorted list of distinct integers from start through end with exactly one value removed. Return the missing integer. The range contains at least two values, so nums contains at least one value.
def missing_element(nums, start, end):