Hi Codechef Community,
I have created a video where I will be covering over the basics of bitmasking and how to generate all subsets of a given set using bitmasking. In addition, I also cover a clever trick to iterate over all subsets of a given subset, also known as submask enumeration.
If you are not familiar with bitmasking and/or submask enumeration, I hope this video will help you understand them.
Happy coding!