← Google questions

Binary search of double values

Filed under Google

Given a monotonic function or a range of floating-point numbers, implement a binary search algorithm to find a double value that satisfies a given condition within a specified precision epsilon.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Google questions

Collected from public candidate posts and coding forums. Updated Nov 2026.