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

Ask Us How You Can Get Your First Dream Job 😉

Fill in the form below to book a 30 min no-obligation consulting session.

 

New Report

Close