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.
30 bits is already enough for that. some languages have beefed up tests already.
awesome except for the
int
overflowdone, but the description's markdown code is starting to be really bloated...
Very nice indeed
This comment is hidden because it contains spoiler information about the solution
It's not as hard as you think, and the clues are there. Nice kata.
Very concise.
C++ yes
No parameter is needed for #split
yes. Like... well, "infinite". ;)
There is/was no ruby-specific description. Anyway, I updated the description to be a bit more clear
This comment is hidden because it contains spoiler information about the solution
Thanks. Clear now.
{'be': {'t': {}, 'g': {}}}
Those would have the same result ("be" is a prefix of both "bet" and "beg", the initial "be" in the first example will simply have no effect/will already be there). If it helps: try going through a few examples in random order, i.e. building a tree from the same arguments, but with a different ordering of them. That way, different cases emerge and you'll see how to handle them (or whether they are so different in the end).
Can you clarify for example what would be the difference between
radixTree("be", "bet", "beg")
andradixTree("bet", "beg")
as I am a little confused over the syntax.
Loading more items...