Wayfair Interview Question

just some case study and calculation