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.
never a comma before a "and" (yes, it's grammatical, but still about the kata)
The phrase here is a list. In my experience, lists are separated by commas if there are three or more parts to it. (Serial comma). This isn't really an issue about this kata, but relates to grammatical rules.
¯\_(ツ)_/¯
This is inconsistent/not logical (from the description).
A justification doesn't mean it's good/acceptable. The kata is about creating human friendly output. This is not human friendly output.
I found it also annoying, but the description says:
This is inconsistent/not logical (from the description).
Duplicate/very similar to this kata: https://www.codewars.com/kata/52742f58faf5485cae000b9a
Fixed. Added note in description to say that they can be equal.
No,
start
andend
may be the same.Fixed.
This solution is clearly wrong as can be seen by testing it with inputs
(1,2,3)
(expected0
, produces1
) and(1,-2,-3)
(expected0
, produces1
). Nevertheless, it passes the test suite every last time. Might I suggest adding an element of randomness into the testing so thatc
is not always1
or0
?C++ Translation
possibly actually reading the description is a novel idea for them. but that's no reason to have this kata; any other kata will do.
Loading more items...