← Adeptia questions

Count number in sorted array with O(log n) complexity

Filed under Adeptia

The question

Count occurrences of a number in a sorted array in O(log n) time complexity.

No write-up yet. Related questions below have one.

Related Adeptia questions

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