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.
This comment is hidden because it contains spoiler information about the solution
This testing only for the last 5 katas in my solutions, you can see this. I dont want use this for get more points.
And why are you "testing" this on
105 different kata? and moreover, specifically on purples you didn't solve already?Anyway, this won't get "fixed" because there is nothing to fix. Handling such a kind of thing means defeating the original intent of CW (I mean, the kind of UX the platfrom is trying to achieve when solving challenges).
Im just testing and already send message to email for this vulnerability.
I suggest you stop using that, unless you wanna your account banned.
$ is the reverse list of test answers.
sumStrings pops the end element off it.
It doesn't address the problem in any way.
Any kata where an answer like this is possible is in dire need of randomised tests.
Can anyone explain this?
Please do not rely on examples to specify behaviour. Specify explicitly.
Specify edge cases ( mostly everything to do with
[]
, in or out ).That is not how people might expect splitting on an index to work. Make losing the indexed element explicit.
Extending prototypes is a valid part of the language. But extending prototypes, especially in the case of
Array
, requires care, specifically to make the extension non-enumerable ( look upfor .. in
). This should be specified and tested. ( This is a more nuanced view; some people say you should not extend prototypes at all. )A test for
[ something ].split(0)
is missing.Ooooooooh! I didn't know that. Yeah, that should definitely be explained in the description for those who don't have a full understanding of morse code.
You should show that in the instructions then, different words that as text are different but as morse are the same.
Like
ate
andwe
(both are.--.
).you need to check the uniqueness of the elements or duplicates only after the translation into the Morse, not Morse does not compare
I can't figure out what you want from my code. What are the "elements" that can be unqiue or duplicates? If an element is just an item in the array, then the original non-morse cleartext would be unique or duplicates. If it's the individual morse code versions of the characters, then the original non-morse cleartext characers would be unique or duplicates.
Please help!
I agree. If there's any map at all it shouldn't expect empty, and yet I copied and pasted that from your tests.
I tried many tests and never expect a empty
Can i see the map?
Loading more items...