Challenge: Missing Number in a Sorted List
In this lesson, we will solve a challenge on how to find the missing number in a sorted list.
We'll cover the following...
Missing number in sorted list
Suppose that you are given an array of contiguous integers starting from 1 to n
, with one integer missing in the middle, like so:
Problem statement
Given a list of contiguous integers starting from 1 (with one missing integer ...