H&M Interview Question

The questions were all pretty straightforward