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.
An excellent point. Though for the scope of the problem it would hardly matter.
whattt? amazing
This comment is hidden because it contains spoiler information about the solution
Was it really costing 5 kata?
Interesting, so map is a hash map. I'm just learning Go, and I thought was like map in Python to apply a function to all the elements in an array or slice.
Although it looks "cool" or whatever, the rules aren't as easy readable from the code as in implementations utilizing comparisons.
wth, how do you think like this :thumbsup
nice and cleas solution.
IMHO, it would've been perfect without named return
So good bro
genius really
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
wouldn't this be O(n) time where n = len(a)+len(b)? if we can assume all the map operations (make, insert, lookup) happen in constant time, then you have one loop over the entire array b and one loop over the entire array a which is O(len(a)+len(b)) = O(n)...
I don't see how this could become O( n(log(m)) ) since you aren't dividing the problem space anywhere (required for log(n))... Am I misremembering how these things work?
This comment is hidden because it contains spoiler information about the solution
Loading more items...