Loading...
Is this your company?
write a program to determine if a number can be expressed as 2^x. for example 4 is 2^2.
Anonymous
bool isPowerOf2(int x) { return 0 == (x - 1) & x; }
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.