how to find next power of 2 for a given number. Eg next power of 5 is 8, next power of 30 is 32.
set nth bit of an integer
reverse bits of an integer
Write a program to print an unsigned integer that is greater than a given unsigned integer but has the same number of 1's in binary form.
Given a number, multiple it by 8 without using multiplication or addition. Do the same for 7.
RSS link for this tag
You must log in to post.
Register or log in:
Lost Password?