added gist link
This commit is contained in:
@@ -13,6 +13,7 @@ function minDistance(n){
|
|||||||
return min;
|
return min;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// https://gist.github.com/gkucmierz/41d47edbd0e5c3753915e9bbfe4ae1b2
|
||||||
function factors(n) {
|
function factors(n) {
|
||||||
let max = Math.floor(Math.sqrt(n));
|
let max = Math.floor(Math.sqrt(n));
|
||||||
let res = [];
|
let res = [];
|
||||||
|
|||||||
Reference in New Issue
Block a user