Two Sigma Interview Question

Create a filtering iterator for numbers mod 5 based on an existing iterator.