Unthinkable Interview Question

find the missing number from array.

Interview Answer

Anonymous

Sep 6, 2024

simple approach by taking sum of the array and the sum of n natural numbers that is n(n+1)/2.