You are viewing a single comment's thread. Return to all comments →
All tests cleared, for possible test case(0) {1,1} fails without exception handling for this solution in java
Here is a solution solution for Java includes recursive gcd, lcm and LCM for arrays and exception handling https://github.com/a-dilmen/Hacker_Rank_Project_Euler/blob/main/SmallestMultiple.java
Seems like cookies are disabled on this browser, please enable them to open this website
Project Euler #5: Smallest multiple
You are viewing a single comment's thread. Return to all comments →
All tests cleared, for possible test case(0) {1,1} fails without exception handling for this solution in java
Here is a solution solution for Java includes recursive gcd, lcm and LCM for arrays and exception handling https://github.com/a-dilmen/Hacker_Rank_Project_Euler/blob/main/SmallestMultiple.java