Closed lrvideckis closed 1 month ago
So I initially tried to implement divisors recursively, but ran into a compiler bug related to https://stackoverflow.com/q/74113005 So iteratively is the only way I can think of to implement this; returning vec of all divisors.
So I reverted https://github.com/programming-team-code/programming_team_code_rust/pull/75 for consistency
So I initially tried to implement divisors recursively, but ran into a compiler bug related to https://stackoverflow.com/q/74113005 So iteratively is the only way I can think of to implement this; returning vec of all divisors.
So I reverted https://github.com/programming-team-code/programming_team_code_rust/pull/75 for consistency