Skip to content

Instantly share code, notes, and snippets.

View yosoul93's full-sized avatar

Kevin Ryda yosoul93

View GitHub Profile
@yosoul93
yosoul93 / countNonDivisor.js
Created July 11, 2018 18:05
Count Non Divisor, it took me 35 minutes to solve it and this task is medium
function solution(A) {
var len = A.length,
count = [],
i,
k,
divisors = [],
result = [];
for (i = 0; i < 2 * len + 1; ++i){
count.push(0);