Pergunta de entrevista da empresa Wayfair

3 problems namely to find a bug in the code, to implement a pattern into code and finally to implement a mathematical equation to the code.