You are viewing a single comment's thread. Return to all comments →
Nice! JavaScript version:
Math.max(...Number(n).toString(2).split(/0+/).map(e => e.length))
Day 10: Binary Numbers
You are viewing a single comment's thread. Return to all comments →
Nice! JavaScript version: