Google Interview Question

A deep software question about implementation of a basic loop structure.