Apple interview question

C coding, bitwise operations, hash maps