Epic interview question

Math, analytical and logical reasoning