Daily challenge for 2026-08-30
607. Index Equals Value
Given an array of distinct integers sorted in ascending order, find an index i such that nums[i] == i. If there is no such index, return -1. Because the integers are distinct and sorted, there will be at most one such index.
Example:Input: nums = [-10, -5, 0, 3, 7]Output: 3
Run this challenge interactively in Python or JavaScript when the app loads.