Finding the first one

You are given an array of infinite length containing zeros followed by ones. How fast can you locate the the first one in the array?

Comments

Popular posts from this blog

Circular game survival