Can someone please help me to understand The use of Bitwise operators in algorithms that generally use. like 1 << (i-1) ,(~K & 1) ^1