Visa Inc. interview question

OOPS related question, data structures question based on bit manipulation