Number of 1 Bits

#191
Easy
Math & Bit Manipulation
O(1)
O(1)
Amazon
Microsoft
Apple
View on LeetCode

Problem Description

Write a function that takes an unsigned integer and returns the number of '1' bits it has.