Skip to content

Latest commit

 

History

History

300-binaryPal

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

binaryPal

Interview question of the issue #300 of rendezvous with cassidoo.

The Question

Write a function to find out whether the binary representation of a number is palindrome or not.

Example:

> binaryPal(5)
> true

> binaryPal(10)
> false

Installing & Running

Just pnpm i to install all dependencies and then pnpm t to run the tests!