Topic: Bit Manipulation Problem / Level: intermediate

Problem: Write a program that counts how many numbers have the same parity as a given number in an array.

Run the code to see the output here...