Question 11

Write a function that returns true if the binary representation of an integer is a palindrome.

9 = 1001 = palindrome

8 = 1000 = not palindrome

[advanced_iframe securitykey=”undefined” src=”https://code.kodnest.com/” width=”100%” height=”600″]

KodNest Training New Batch is starting on 02nd November 2020. Attend one week free demo classes.Register Now

New Report

Close