Bit manipulation- get and set bits

What is the purpose to set the bit?

@a19JE0093 When you will solve problems based on bit manipulation concept you will see that you need to set bits in many problems . Example - in finding all the subsequences of a string.
Just follow the lecture videos…you will get to know the purpose .

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.