Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
nice!
I have the same, the only difference is that in the If statement I control that j and i do not have the same value so that it does not control itself. :)
You should read my updated comment regarding this...
So I understand what you're doing here but your time complexity is exponential, which isn't great. There are ways to solve this with linear complexity.
clean, straight to the point.
it's an old school solution! Nice !
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Is this version correct for what i understand this runs the string like an array but it only compares the letters that are close so if you have letters repeated at the end of the string this would not work...
I tried this myself and works can you explain me why?