Maple interview question

Deep dive into a previous project