YuppTV interview question

Find out the missing number in array

Interview Answer

Anonymous

Apr 4, 2023

I gave brute force approach with o(n2) time compexity. Then interviewer asked to reduce time complexity then I gave another solution which takes o(n).