This repository has been archived by the owner on May 7, 2023. It is now read-only.
[QUESTION]Whether to pay attention to parameter checking and exception handling #207
Labels
question
Further information is requested
Should we pay attention to parameter checking and exception handling, or should we focus more on showing a possible idea for solving the problem?
For example in lcm.md, the current implementation has the potential to cause a divide by zero exception.
Also, by definition, lcm should be a positive integer. However, the current implementation may result in the return of a negative number.
Current implementation
The text was updated successfully, but these errors were encountered: