Numerator interview question

Difference between a generator and iterator.