1

Learn Bit Manipulation

1

Introduction to Bit Manipulation [Theory]

YouTube LinkLink 1

2

Check if the i-th bit is set or not

YouTube LinkLink 1

3

Check if a number is odd or not

YouTube LinkLink 1

4

Check if a number is power of 2 or not

YouTube LinkLink 1Link 2

5

Count the number of set bits

YouTube LinkLink 1

6

Set/Unset the rightmost unset bit

YouTube LinkLink 1

7

Swap two numbers

YouTube LinkLink 1

8

Divide two integers without using multiplication, division and mod operator

YouTube LinkLink 1Link 2

2

Interview Problems

1

Count number of bits to be flipped to convert A to B

YouTube LinkLink 1Link 2

2

Find the number that appears odd number of times

YouTube LinkLink 1Link 2

3

Power Set

YouTube LinkLink 1Link 2

4

Find xor of numbers from L to R

YouTube LinkLink 1

5

Find the two numbers appearing odd number of times

YouTube LinkLink 1

3

Advanced Maths

1

Print Prime Factors of a Number

YouTube LinkLink 1

2

All Divisors of a Number

YouTube LinkLink 1

3

Sieve of Eratosthenes

YouTube LinkLink 1Link 2

4

Find Prime Factorisation of a Number using Sieve

YouTube LinkLink 1

5

Power(n, x)

YouTube LinkLink 1Link 2