H&M Interview Question

How do I problem solve?