Red Ventures Interview Question

Math problems