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.
This comment is hidden because it contains spoiler information about the solution
Fixed!, Thanks for your help!
Hello. you have a nested for loop so that makes the complexity of your function O(n^2). Try to iterate over the string once or twice and think what you need to calculate during each step.
Thanks for the translation!
that solution is not exactly O(2n). I tested it on my machine and compared to the optimal which requires 1 pass its around 7-8 times slower.
nice! Thanks
hmm i think your solution is not O(n) thats why its failing the big tests...
O: nice!
Yes its fine. Thanks!
yep i did just that
Thank you for your advice. I will try to change it :)
ooooooof
pfff
damn..
nice kata!
Loading more items...