Corning interview question

Loops, variable assignments,