Google Interview Question

Asked me one prompt about iterators.