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.
how about
.split('').filter((x, i, arr) => x !== arr[i+1])
O(n^2)
solution instead ofO(n^3)
whenO(n)
is possible is not a big improvement.okay, thank you for help, I'm new on this platform and I didn't know where can I ask for help.
If you need help with a kata, you can ask in the discourse section for some hints, but don't create kumites waiting for a ready answer - you're ruining the experience for yourself, and spoiling the kata for anybody who stumbles upon this.