[LeetCode] Fixed Point

1 · · Feb. 22, 2022, 8:47 a.m.
1064. Fixed Point Given an array of distinct integers arr, where arr is sorted in ascending order, return the smallest index i that satisfies arr[i] == i. If there is no such index, return -1. ...