Qualcomm interview question

Binary operations, FizzBuzz