The bits work faster by reducing your execution time as it is the greatest factor in competitive programming . Faster the execution time better the code performance. So, let’s know about the major hacks that can be done at a bit level to optimise the code. Useful operators for bit manipulation: The & (bitwise AND) takes two operands and perform AND operation. It results in 1 if both numbers are the same else 0. The | (bitwise OR) takes two operands and perform OR operation. It results in 1 when both bits are different. The ^ (bitwise XOR) takes two number as operands and perform XOR operation. It results in 1 if both bits are different. The << (left shift) t akes two numbers, left shifts the bits of the first operand, the second operand decides the number of places to shift. Or in other words, left shifting an integer “x” with an integer “y” (x<<y) is equivalent to multiplying x with 2^y (2 raised to power y)...