Marshalls Interview Question

About solving problems.