SquareBoat Interview Question

Code: Find the Missing element in the Array.