Arista interview question

Find a missing element in an array of ordered integers.

Interview Answer

Anonymous

29 Apr 2022

Gave a working naive solution which was O(n). Messed up when implementing a solution based on checking left-right subarrays.