Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
One-liner solution in Clear category for [old] The Hamming Distance by Goodester
let hammingDistance = (m, n) => parseInt((m ^ n).toString(2).split('')
.reduce((x, y) => parseInt(x) + parseInt(y)));
July 9, 2019