Given a 32 bit unsigned integer, write a function (in C) that returns a count of how many bits are "1".
Anonymous
leetcode question: number of 1 bits. To optimize, you need something like n = n & (n-1)
Check out your Company Bowl for anonymous work chats.