We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
What about this condition????
The length of the string may not be altered, so you must consider 's left of all higher digits in your tests. For example is valid, is not.
It seems the example 1 does not meet it.
Should we take care of zeros at all here?
I commented my code that process the condition.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Highest Value Palindrome
You are viewing a single comment's thread. Return to all comments →
What about this condition???? The length of the string may not be altered, so you must consider 's left of all higher digits in your tests. For example is valid, is not.
It seems the example 1 does not meet it.
Should we take care of zeros at all here?
I commented my code that process the condition.