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.
awesome!
Suggestion:
Instructions do not explain what the function is expected to return.
I think it is important to explain that in detail (specially considering that this is a 7 kyu kata).
For example:
TypeScript version fails to compile (missing export).
Reported here: https://www.codewars.com/kata/57dd3a06eb0537b899000a64/discuss/typescript#63ac76683f04b10031696cc6
Hope that can be solved. For some people it can be a trivial thing.
For many others (specially considering that this is a 7kyu), it can be non trivial and prevent them from solving the real challenge.
Bug in TypeScript version:
IS:
SHOULD BE:
I believe instructions (or sample tests) should be much more explicit with the requirements.
Some examples:
(JavaScript)
Important improvement:
This is a 7kyu kata and, oviously, warriors are not supposed to implement MD5 algorithm themselves.
But, unless you've done the previous kata in the collection, it is not really obvious that you can import external modules -I've solved 40 katas on Codewars and it is the first time I see it (TBH I didn't even consider that was possible).
Suggestion:
Add this text at the beginning...
... and include the following tip:
*** Fix for this bug ***
In the Kata Test Cases, inside the function lastDayIsFridayCheck(), there's the following three lines:
.setMonth() expects a zero-based integer (ie. 0 for January)
The following will fix the problem:
The random tests are wrong.
For example:
... but year 2014 clearly had 3 months ending in Friday.
It'd be good to add examples in the instructions (they'll look very verbose but helpful anyway).
Array.prototype.flat() is only supported from NodeJS v.11:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/flat#Browser_compatibility
Codewars currently uses NodeJS v8.1.3 (you can check the version at the top of the Kata screen: there's a drop down allowing you to choose language + a dropdown to choose the version).
Instructions for this kata should actually include an additional example to explain that a word can also be an anagram of itself.
Eg:
It is an important factor because implementation can be largely simplified (you can sort all the words of the array at the beginning and then just count the number of words that are equal).