From 0fc3c79b138bc53d5f5591c5d4d9230b583da0f7 Mon Sep 17 00:00:00 2001 From: gkucmierz Date: Sun, 17 Sep 2017 19:59:19 +0200 Subject: [PATCH] added gist link --- min-factor-distance/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/min-factor-distance/index.js b/min-factor-distance/index.js index 4947d12..8bf5181 100644 --- a/min-factor-distance/index.js +++ b/min-factor-distance/index.js @@ -13,6 +13,7 @@ function minDistance(n){ return min; } +// https://gist.github.com/gkucmierz/41d47edbd0e5c3753915e9bbfe4ae1b2 function factors(n) { let max = Math.floor(Math.sqrt(n)); let res = [];