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.
Yes many have the same problem: code too slow...
Hi,
that means that, even if your code output the correct result, it's not fast enough (hence, not "good enough"). => you need to change your approach to have a better time complexity.
cheers
Why the replace? And normally when you use split, you'll want to use another method to join them again, not doing it manually.
Remember to mark your post as having spoiler content when you post code like that, even if it doesn't work.