Arista interview question

Find a missing element in an array of ordered integers.

Interview Answer

Anonymous

Apr 29, 2022

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