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.
Very clever, kinda embarased considering how simple and elegand your solution is compared to mine
Python new test framework should be used
No sample tests
More tests should be added
The description should at least state the main point of the kata, instead of just writing it as comments in the initial solution which becomes troublesome for users to understand as not everyone will solve the problem using the same method
From the documentation:
https://www.postgresql.org/docs/9.6/arrays.html
This looks really clever. Where is this functionality documented?
nope.
I rewrote the description to make the task understandable, that should solve the problem.
(I made the kata py3 compatible at the same time)
ok :)
thanks for the tip !
This one is for you, so... ;)
the real question is : who do you play with who couldn't tell you the rules ? :d
didn't read the notes, shame on me. While clicking "attempt" I thought "Oh, forgot to take care of 'en passant' !"
Would be nice to make a new kata with all the rules ;)
Anyway, good one, tks !
tip :
"and then empty arrays"
This comment is hidden because it contains spoiler information about the solution
You should add bigger numbers in the tests, at least for python, since the naive approach can pass. Or remove "beware of big numbers" from the description.
Also, as stated by others, the description is not consistent about the sum asked for.
Just make things clearer, will be a perfect kata.
no, we shouldn't
thanks for noticing the small attribute :p
Little typo :
. . . should we also fix the title ?
; ) )
To my opinion, it is useless. You can hard coding only if you got the answer, and there's no huge chance to just guess it.
But I hoped you enjoyed coding the random cases :p. Anyway, that's still an added feature, doesn't hurt.
Thanks to all for helping getting through beta.
Loading more items...