โ† Flipkart questions

First occurrence of a digit in a stream

Filed under Flipkart

The question

Find the first occurrence of a digit (1-9) other than zero in a stream of integers in less than O(n) time, given no access to the memory location where the stream is written.

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

Related Flipkart questions

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