~/journal/category/codefights

Codefights 6 posts

2016

get Month Name [CF]

Map the given integer to a month. Example: For mo = 1 , the output should be getMonthName(mo) = "Jan" , For mo = 0 , the output should be…

chevron_right
notPaired [CF]

Author Question: Lepluto In Numberland, every integer living there has a soulmate which is the exact same number. To prevent family disasters, the…

chevron_right
Reverse Bit [CF]

Author Question: Giappi I have an integer number, which I want to reverse by following steps: Convert the number into binary string. Reverse binary…

chevron_right
search esc