coding requires small knowledge of math, even if u don't want to be a graphics engineer
Unless the instruction "Try not to cheat and provide a recursive solution" should be read as an instruction to provide a recursive solution ... I read it as stating that providing a recusive solution is cheating (though don't see why it should be)
Why shouldn't they? The solution works, and is not recursive.
Loading collection data...
coding requires small knowledge of math, even if u don't want to be a graphics engineer
Unless the instruction "Try not to cheat and provide a recursive solution" should be read as an instruction to provide a recursive solution ... I read it as stating that providing a recusive solution is cheating (though don't see why it should be)
Why shouldn't they? The solution works, and is not recursive.