Pergunta de entrevista da empresa OpenText

Check whether the binary representation of a given number is a palindrome Ex: Input: 0 Output: Yes Input: 1 Output: No