You are viewing a single comment's thread. Return to all comments →
JavaScript solution:
// Write your code here let bDay = 0 for(;i<=j;i++){ let rev = Number(i.toString().split('').reverse().join('')) if((Math.abs(i-rev)/k)%1 === 0) bDay+=1 } return bDay
Seems like cookies are disabled on this browser, please enable them to open this website
Beautiful Days at the Movies
You are viewing a single comment's thread. Return to all comments →
JavaScript solution: