You are viewing a single comment's thread. Return to all comments →
is_palindrome() has a flaw will ignore any 0 ditgits at the end eg:100, it will ignore last 2 zeros and will compare 1 == 100
but dosent matter bcoz number leading with zero will be considered as octal number and it will fck up the algo anyway
Seems like cookies are disabled on this browser, please enable them to open this website
Java Lambda Expressions
You are viewing a single comment's thread. Return to all comments →
is_palindrome() has a flaw will ignore any 0 ditgits at the end eg:100, it will ignore last 2 zeros and will compare 1 == 100
but dosent matter bcoz number leading with zero will be considered as octal number and it will fck up the algo anyway