Problem 477 · Medium
Calculate total Hamming distance between all pairs of numbers.
Open the interactive visualisation