Leetcode 704. Binary Search
Given a sorted (ascending) array of unique integers and a target value, return the index of the target or -1 if not present; the solution must run in O(log n) time (i.e., implement binary search).
Asked at:


Amazon
Meta
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
Mid April, 2025
Meta
Manager
Late October, 2024

Amazon
Junior
Binary Search problem
Late October, 2024

Junior
LeetCode Medium problem involving Binary Search
Your account is free and you can post anonymously if you choose.