Available question text
Given a boolean array where the first element is always true and the last element is always false, find and return any index i such that arr[i] is true and arr[i+1] is false. Your solution must run in O(log n) time and O(1) space.
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
Google
Find True-to-False Transition Index
Reported May 5, 2026 · 1 source report
JUNIOR
Source snapshot: Nov 12, 2026
View source