Pergunta de entrevista da empresa Wayfair

A code challenge based on position.