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.
My solution takes 0.4sec. on my development machine but it timeouts here. Any ideas?
This comment is hidden because it contains spoiler information about the solution
Regarding the Ruby version, how do you guys deal with the string-to-integer conversions (and the opposite)? For example
#generate
must return integers, while the tests expect strings. Do you convert all the time between calling#generate
,#mutate
and#crossover
? If so, don't you loose bits when converting, let's say, "00100" to an integer?Since the description is talking about binary strings, the tests should work with strings.
#generate
having to return numbers and not strings is contradicting with the description.thx u2