Pergunta de entrevista da empresa Wayfair

One coding question. One question about business aspect.