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.
This is simplified version of the kata. Bruteforce should be enough to pass all the tests. Either optimize or find another approach. And yes, there are many approaches, as you can see in harder version of the kata.
From third try it saved. Codewars does not report conflict, when 2 people edit Kata at the same time, silently overwriting edits. Sorry about confusion.
Hmm... I added both Sample tests and Mid-sized numbers. Blame Codewars saving routine... Let me retry.
Because I fixed 2 issues you reported. :-3
But Python tests are wrong, so yeah, other issue is open :-)
You're right, thanks! Fixed those.
Also, I've opened Kata for contributors (should have done it earlier).
Agreed.
Next time do not remove description details related to other languages. Kata description text is shared between languages.
Approved. Thanks!
Looks clean.Scratch that. Tests are wrong, squares are not tested.One is supposed to find more efficient way to find solutions. Using more of CPU power is not an option, as Codewars test server resources are limited.
Go translation
Solution is more-or-less translation from Coffee, so it's non-Go way.
Coffeescript translation ᕦ
ò_óˇ
ᕤSmart!
(f(x)^g(x))'
would make it 1 kyu.That makes it first 1 kyu kata in Go. Yay!
Loading more items...