@@ -0,0 +1,334 @@
+/**%0A * Problem: https://leetcode.com/problems/number-of-1-bits/%0A * %0A * %0A */%0A%0Apublic class Solution %7B%0A    // you need to treat n as an unsigned value%0A    public int hammingWeight(int n) %7B%0A        int count = 0;  %0A         while(n != 0)%7B  %0A           n = n & (n-1);  %0A           count++;  %0A         %7D  %0A         return count;  %0A    %7D%0A%7D%0A

Create Number_of_1_Bits.java