Pergunta de entrevista da empresa IXL Learning

Problem solving/logic question