Q 1. )Check if the ith bit is set or not
Q 2.) Set the ith bit of a number.
Q 3.) clear the ith bit of a number.
Q 4.) Remove the last set bit of a number.
Q 5. ) Find whether a number is even or odd
Q 6.) Check if the number is a power of 2?
Q 7.) Check if a number is a power of 4?
Q 8.) Check if a number is a power of 8?
Q 9.) Check if a number is a power of 16?
Q 10.) Toggle ith Bit of a number?
Q 11.) Count the number of set bits in a number
Q 12.) Find the two non-repeating elements in an array of repeating elements/ Unique Numbers 2
Q 13.) Convert Uppercase to LowerCase:
Q 14.). Convert Lowercase to Uppercase
Q 15.). Invert Alphabet’s Case
Q 16.). Find Letter Position in alphabet
Q 17. ) Given a set of numbers where all elements occur an even number of times except one number, find the odd occurring number.
Q 18.) Swap two numbers using Bit manipulation:
Q 19. ) Calculate XOR from 1 to n
Q 20.) Find XOR of numbers from the range [L,R]
Q 21.) Check whether the number is even or not
Q 22.) Find the XOR of the XOR of all subsets of an array:
Q 23.) Count Number of bits to be flipped to convert A to B:
Q 24.) Find missing number in an array:
Q 25. ) Print the binary representation of decimal number:
Q 26.) Reverse the bits of a number:
Q 27.) Swap the ith and Jth bit.
Q 28.) Swap all even and odd bits
Q 29.) Copy set bits in a range, toggle set bits in a range:
Q 30.) Divide two integers without using Multiplication, Division and mod operator:
Q 31.) One unique rest thrice
Q 32.) Reduce a Number to 1
Q 33.) Detect if two integers have opposite sign
Q 34.) Add 1 to an integer
Q 35.) Find Xor of a number without using XOR operator
Q 36.) Determine if two integers are equal without using comparison and arithmetic operators
Q 37.) Find minimum or maximum of two integers without using branching
Q 38.) Find missing and repeating number / Set mismatch:
Q 39.) Maximum Product of Word Lengths
Q 40.) Check if a String Contains all binary codes of size k
Q 41.) Find the Duplicate Number