โ† Yahoo questions
CodingReported in a candidate post, Jul 2012

Count the zeros in an array of unknown length

Filed under Yahoo

The question

An array of unknown length starts with 0s followed only by 1s; write a function that returns the count of 0s.

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

Related Yahoo questions

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