Bitwise Interview Question

Question based on projects