Given an array of size N-1 such that it only contains distinct integers in the range of 1 to N. Find the missing element.
Example 1:
Input:
N = 5
A[] = {1,2,3,5}
Output: 4
#KTP
https://www.facebook.com/Kick-The-Pro...
Please Like, Share and Subscribe..
For more these kinds of videos ,stay tuned..
If you have doubts , put in comments box ....