Two Sigma interview question

Iterator bit manipulation