Bit Manipulation

What are some good resources to learn Bit Manipulation ? and also suggest some good Questions which can only be solved using BitMasking . .!! thanks in Advance !!

There is a topcoder tutorial : Link
Hope it helps .

1 Like

Okay . thanks sir . .

For theory :

http://community.topcoder.com/tc?module=Static&d1=tutorials&d2=bitManipulation

For problems :

https://www.hackerrank.com/categories/algorithms/bit-manipulation

also Search in codechef.com/tags/problems you may find there.

1 Like

thanks sir . .

No need of sir ,I am a student like you !

Welcome , but no need of sir …

Recently there was one nice question on bit masking in March long 2019. Here’s the link to the problem: https://www.codechef.com/MARCH19B/problems/JAIN