Good kata, but need to add some tests like a -3., 50. etc. My solution was applied, but returns true with examples above. Good luck further
-3.
50.
This comment is hidden because it contains spoiler information about the solution
Hah, sorry, that's my bad. I didn't see that number included in [...]. Sorry again
Does Java have that flag? I had tried find this, but only see it with JavaScript.
My non-perfomance code crashes perfomance test and allow me to "Final Submit" when I just try to print str1 and str2 params
There are nice to replace your (\w\w\w*) to (\w{2,}) (means "2 letters and more") But with your solution I got nice knowleadge about group()!
(\w\w\w*)
(\w{2,})
There are should be string.replaceFirst instead of string.replace
string.replaceFirst
string.replace
It's amazing kata. I need to solve this
My bad with isPalindrome. Should be likes: if (numInString.equals(new StringBuilder(numInString).reverse().toString())) return true;
if (numInString.equals(new StringBuilder(numInString).reverse().toString())) return true;
You are awesome.....
Loading collection data...
Good kata, but need to add some tests like a
-3.
,50.
etc.My solution was applied, but returns true with examples above. Good luck further
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Hah, sorry, that's my bad. I didn't see that number included in [...]. Sorry again
Does Java have that flag? I had tried find this, but only see it with JavaScript.
This comment is hidden because it contains spoiler information about the solution
My non-perfomance code crashes perfomance test and allow me to "Final Submit" when I just try to print str1 and str2 params
There are nice to replace your
(\w\w\w*)
to(\w{2,})
(means "2 letters and more")But with your solution I got nice knowleadge about group()!
There are should be
string.replaceFirst
instead ofstring.replace
It's amazing kata. I need to solve this
This comment is hidden because it contains spoiler information about the solution
My bad with isPalindrome. Should be likes:
if (numInString.equals(new StringBuilder(numInString).reverse().toString())) return true;
You are awesome.....