Challenge 8: Missing Number in Sorted Array

In this lesson, we will solve a challenge on finding the missing number in a sorted array.

Missing Number in Sorted Array

Suppose that you are given an array of contiguous integers starting from 1 to n, with one integer missing in the middle.

Level up your interview prep. Join Educative to access 70+ hands-on prep courses.