โ† Amazon questions

Find frequency of a number in a sorted array and binary search

Filed under Amazon

Given a sorted array of integers and a target number, find the frequency (count of occurrences) of the target number using binary search.

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.