Viridien Interview Question

Math questions.