Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Use FP, Luke! solution in Clear category for The Hamming Distance by obone
checkio = lambda n, m: sum(((n >> i) & 1) != ((m >> i) & 1) for i in range(max(m, n).bit_length()))
Oct. 7, 2019