some interview questions about iterator