Solution: Missing Number in Sorted Array
This review discusses the solution of the Missing Number in Sorted Array challenge in detail.
We'll cover the following...
We'll cover the following...
Solution # 1
A naive solution to this problem is traversing through the whole list starting from the first index and returning the missing integer as soon as we encounter it.
- (Line 2): Initialize missing equal to . In case there is no missing integer, we just return