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.
Hey. I don't know how it's in JS, but in Swift a tuple is an anonimous objest with syntax (index1: Int, index2: Int)
I also got confused with this moment. The author ment an array of ints.
Thanks for this one! Good for date practicing. For me it wasn't obvious that in case when birthday 22 is Monday than it's the first working day. And vice versa when birthday 78 is Monday that's not the last working Monday. May be it's worth to be added in the description.
Glory to Arstotzka!
Thank you!
Thank you for your feedback. This is my first published Kata. I try to fix all the issues asap.
You have to examine the solution text file of the user with regexp and check the absence of "\bBigInteger".
(I currently do not have on hand the code to get the solution in java, sorry)
Could you tell me please, how to enforce the arrays approach in the Sumbit tests? E.g. how to forbid to use BigInteger or convert to primitives?
Only 4 fixed assertions in the entire test suite is insufficient code coverage - either increase the number of distinct fixed assertions to at least 20 (ideally including some edge cases as well) or write 100+ random tests (or do both ;) )
If you want the Kata to be solved using a certain approach then enforce it in the Submit tests - just telling the solver "please use this approach" or "please don't use that language feature" will not stop solvers from coming up with alternative approaches. This can be achieved by reading the file
/home/codewarrior/solution.txt
and examining its contents.I'm sorry, I checked and there's no problem. My bad.
I don't know what you mean. Can you please describe the problem using an example?
In this case you lose the link to the node var.