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.
Very strange. Looking at your code, I believe that the codemirror mode gets stuck and hangs when it encounters
)\
when the bracket is unmatched. I will try fix it as soon as possible (Note that this will apply to any LC kata, not just this one).This kata is stuck on loading for me. Can you help with it?
This is so slow. Simple foreach loop is more than 10 times faster.
You have to do 2 iterations here. With loop you iterate only once.
bro make your kata a bit easier
I think you mean "wh4t"
what
Wow, this is great. Anyone mind explaining to me; why does adding a '+' make the strings which are next to each other included in one string as one element? And putting the 'aeiou' inside brackets tells Ruby you want to group each of the elements inside to their own element in the array?
This comment is hidden because it contains spoiler information about the solution
In love with this one!
You can simplify this a bit with
unsafeRegex
fromData.String.Regex.Unsafe
.Very concise.
Wow, ive just check this solution and its actually wrong, Exception with "only one semicolon"!