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″]

Register for the new batch at KodNest and start your journey to success.Secure Your Spot Now!Claim Your Seat

Request A Callback

Get a Free 30-minute Counseling session with our experts.