Apple Interview Question

C coding, bitwise operations, hash maps