OfferUp interview question

- flatten iterator.