You are viewing a single comment's thread. Return to all comments →
ts one liner:
function findDigits(n: number): number { return n.toString().split('').map(i=>Number(i)).filter(i=>n%i===0).length; }
Seems like cookies are disabled on this browser, please enable them to open this website
Find Digits
You are viewing a single comment's thread. Return to all comments →
ts one liner: