EagleView interview question

Add an integer in the array from scratch