← Amazon questions

Smallest value of x where f(x) > 0 for a monotonically increasing function

Filed under Amazon

Given an oracle function getval(x) that evaluates a monotonically increasing function f(x), determine the smallest integer x such that f(x) > 0.

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 Amazon questions

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