In this video we will see how we can find out a missing integer in an array of 'n' integers. Here we are considering that there are no duplicate integers.
Example:
Input: [1, 2, 3, 5]
Output: 4
Explanation: The number missing between 1 to 5 is 4.
Check out the video to see how we implement this!!
Practice Problem: https://practice.geeksforgeeks.org/problems/missing-number-in-array1416/1
Article: https://www.geeksforgeeks.org/find-the-missing-number/
SDE Sheet: https://www.geeksforgeeks.org/sde-sheet-a-complete-guide-for-sde-preparation/