Given a number N, toggle all the bits to the right of the most significant bit (MSB) bit (and including MSB also) in the binary representation of the number.
Input will be an integer N.
Solution will be an integer having Ns all bits inverted after the MSB.
Please check out the video which explains the solution to this problem.