Skip to main content
5 of 5
[Edit removed during grace period]
FlipTack
  • 14.7k
  • 3
  • 54
  • 101

Binary representation of a number is palindrome or not?

Write a full program to find whether the binary representation of a number is palindrome or not?

Sample Input
5

Sample Output
YES

Print YES if binary representation is palindrome and NO otherwise.

fR0DDY
  • 4.6k
  • 26
  • 37