Cirata interview question

iterator question