Check if k’th bit is set for a number | Bit manipulation @
In this video, we will learn how to check if the k'th bit of a number is set. We will do this using bit manipulation.
Bit manipulation is a technique that allows us to manipulate the bits of a number. This can be useful for a variety of tasks, such as checking if a number is even or odd, or finding the smallest power of 2 that is greater than or equal to a given number.