Loading...
Is this your company?
Can you implement a function to count the number of bits in an integer.
Anonymous
int CountBits(int n) { int res = 0 ; while(n > 0) { n = n>>1; res++; } return res; }
Check out your Company Bowl for anonymous work chats.
Get actionable career advice tailored to you by joining more bowls.
Stay ahead in opportunities and insider tips by following your dream companies.
Get personalized job recommendations and updates by starting your searches.