Viridien Interview Question

Math problems