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.
missing test size spec in description, which is required to understand what problem needs to be solved
js tests need to be updated, missing random tests + other issues
As a new comer on Codewars, I wanted to try to translate some kata, and was inspired by this one...
So I've prepared a Python translation.
Anyone to check, comment and possibly approve ?
When using Python 3, is it recommended to use the decimal module? Is the floating-point precision so bad for doing its kata?
the initial code should be a class
Random tests are basically non-existent, only 1. Also random test is setup as such
with a predefined prefix...(Solutions can easily hardcode such cases along fixed tests).....
@JohanWiltink grats on another "premature" approval !
Description also does not explain whether the match string will take the
\n
character into account or not. Initally I was thinking of cases like (abc\ndefc\nhu
,chu
)More test examples are needed, the link to the article does not work
Python translation
No random tests in javascript.
Javascript: tests throw deprecation warnings.
Seems like an off-by-one issue to me. It should also read "comparisons" rather than "comparacents".
Re-raised as an issue: Kata inappropriately uses the term "supersequence" when it actually means "superstring". These two have established meanings in computer science, so they should not be misused.
C Translation (author inactive).
This comment is hidden because it contains spoiler information about the solution
More sample tests would be nice.
Loading more items...