📅  最后修改于: 2022-03-11 15:01:59.540000             🧑  作者: Mango
// subarray division hackerrank solution javascript
function birthday(s, d, m) {
// Write your code here
let count = 0;
let sum = 0;
for(let i=0 ; i previous + current);
if(sum === d){
count++
}
}
return count;
}