Genesys Interview Question

Bit manipulation