1228. Missing Number In Arithmetic Progression
Given a sorted array `arr` that represents an arithmetic progression with a constant difference, where exactly one element is missing, return the missing element.
Given a sorted array `arr` that represents an arithmetic progression with a constant difference, where exactly one element is missing, return the missing element.