A public digital garden documenting my journey through bugs, features, and the chaotic beauty of web development.
Count set bits in O(k) time using Brian Kernighan's bit trick — where k is the number of 1-bits.