LC: 1064. Fixed Point - spiralgo/algorithms GitHub Wiki

1064. Fixed Point:

The Essence:

We need to focus on the fact that the array is in ascending order.

Details:

This means, in order to find the suitable index-value pair; we can either traverse from the start of the array, or binary search the array to make it more efficient.