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.
python:
the description could mention that the order of the output does not matter
The discription mixes "space" and "whitespace" in an unclear manner.
yet
I suppose it depends on context, but from a regex perspective, I would assume "whitespace" refers to
\s
. I would just change everything to "spaces" for clarity.This kata got unpublished as a duplicate: https://www.codewars.com/kata/576a616359b1163437001c3b/ but maybe its JS translation could be salvaged as a translation of this kata?
For
X
,Y
andZ
it's unspecified which direction they're pointing to. There are multiple conventions for this (Y
can point atU
,D
,F
or evenB
), so it needs to be explicitly specified.(I believe the standard is
X -> R
,Y -> U
,Z -> F
)(Also, yes, it can be deciphered from
single_rotations
, but it shouldn't be mandatory)...but not always. Some of these should be added to the fixed tests.
+#
and#+
should be testedYoure
-->Your
So I was testing why my solution was timing out (can't honestly imagine how to make it faster) and I made it return just 0 and one of the advanced cases passed.
Is there really a case that requires 0 (wouldn't really make sense, per the description there is no way to make a case where 0 is correct result) or is this just some timer case that checks if you fit in the 1 second?
As @B4B already pointed out, this kata is a duplicate of https://www.codewars.com/kata/do-not-loose-at-tic-tac-toe. But that was 3 years ago and this kata has not been unpublished still now, so I was wondering what is the future of this kata, would it be unpublished eventually? Or remain in beta forever?
Prolog: Solution expects a specific (unspecified) order, while description states that order is irrelevant.
Python, possibly other languages: tests miss sanity checks on values returned by user solution and crash badly when an unexpected value (not a pattern, or not a valid pattern) is returned.
Python, possibly other languages: tests miss sanity checks on values returned by user solution and crash badly when an unexpected value (not a pattern, or not a valid pattern) is returned.
Python, possibly other languages: tests miss sanity checks on values returned by user solution and crash badly when an unexpected value (not a pattern, or not a valid pattern) is returned.
I don't understand how to count more than 250 wagons in 16s?
This comment is hidden because it contains spoiler information about the solution
Python (at least): empty matrix
[]
is never tested, only[[]]
Perhaps updating the description is enough.
Loading more items...