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.
Any news of this JS translation ? Too bad I know nothing about Haskell. After some consolidation in Rust, Haskell might the next language I'd like to learn
100% agreed. I had way more difficulty to finish this one than the 2 kyu SQL engine...
really really really fun kata. reminds me some compilation course at school. finally this was not so difficult. thanks all guys who contributed to this kata
This comment is hidden because it contains spoiler information about the solution
I just ran a bench on my 3 year old laptop, it takes 3s to test 5 millions numbers. If this limit is too high, you can test less numbers.
The submitted solution already fails at much smaller numbers
It's so easy to test lots of numbers
Although this solution is "beatiful", it does work for the lots of numbers !!
455=111000111
905=1110001001
910=1110001110
935=1110100111
1735=11011000111
1810=11100010010
1815=11100010111
1820=11100011100
1865=11101001001
1870=11101001110
1895=11101100111
3015=101111000111
3465=110110001001
3470=110110001110
3495=110110100111
3620=111000100100
3625=111000101001
3630=111000101110
3635=111000110011
3640=111000111000
Rust translation
Please, review and approve.