Pergunta de entrevista da empresa Epic

Math, logic, and programming questions.