Loading...
Engaged Employer
Write a function that accepts an integer and returns a boolean which will be true when the given number is a power of 2.
Anonymous
x&(x-1) should do it if number is not 0
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.