← PubMatic questions
CodingReported in a candidate post, Aug 2022

Find index of first 1 in an infinite sorted 0/1 array

Filed under PubMatic

The question

Locate the first 1 in an infinite sorted array of 0s and 1s.

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

Related PubMatic questions

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