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.
Haskell translation
Description does not explain what are criteria for "Invalid triangle".
This comment is hidden because it contains spoiler information about the solution
Given the spec below, I was surprised to get invalid length types (strings). This is just annoying.
Also, as stated in other posts, don't just assume people know what these types of triangles are.
Add more information to the description.
Kata description can be improved:
isMatching
checks if a stringst
can be created by combining and rearranging the letters of two other stringsst1
andst2
.Things to be careful of:
st
, but may be present inst1
andst2
Return
true
ifst
can be obtained from rearrangingst1
andst2
following the rules above orfalse
otherwise.For example:
It's not explained how filenames with non-lowercase extensions should be handled exactly.
This is not a valid filename (it could be a hidden directory, or probably(?) a hidden file without extension). Either the description should mention such case, or this input should be removed.
Test.assertDeepEquals
should be used, or better Node 10 + chai.Javascript version of Kata should include random tests to prevent low-level cheats such as those passing in fixed values in the correct order.
would be great if you explain triangles rules, it is just to clarify kata problem
Duplicate of Roman Numerals Encoder
Filenames should be allowed to contain spaces.