Mews Interview Question

Asked me to describe my homework solution.