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.
The algo sets the variable min to a new value once it finds a word short than the current min value.
Can somebody help me? My encode function works with short words but not with long words.
What could be the reason?
Beautiful Description. Thank You!
After i took a Look at the solutions, i have to say: This is a really really hard 6kyu exercise.
I timed out in Python using while loop + sorted command
There is a right-trim function in Python. It's called .rstrip()
I tried this exact solution and it timed out.
lol
Had the same question. Would be really handy if this was explained in the description of the kata :)
As stated in the instructions:
"abacad" will return "abcd-a-a"
"abbacad" will then return "abcd-ab-a" ?
If yes, could you add this as an example?
THX
dumb
This should be at least 5kyu. Its hard.