RAPP interview question

Find the missing number in a distorted array.

Interview Answer

Anonymous

7 May 2024

Sort and check the difference between consecutive elements and if the d/c is 2 then you get the missing.