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.
The description for the Go version is a bit imprecise- the methods to be used are actually named MoveTo and LineTo, although you can of course guess it :)
Not sure why every so often my solution to stuff is like a poor man's version of yours :D
nah, yours is more interesting
thanks for the comment & upvote; i think yours is more efficient though bc of the said filtering on the run
Wow, I didn't realise there would be more characters in between. The version with
A-z
seems to work faster though than the one witha-z
andi
, could this be so?Thanks for the explanations
Golfing- yeahh, agreed (it's still fun though)
Aha, thanks,
.substr()
just made it a bit shorter (.substr(i,5)
vs.slice(i,i+5)
- but I can well see your point about consistency. What do you mean by 'more powerful' though?thanks!
yep.thanks!
Thank you very much!
Hello all and thanks for working on my first kata. If you had done it before and now see that your solution is invalid, this is due to the fact that my random tests were running against themselves previously; I haven't changed anything else in tests as such.
Interesting. I get this
Expected: '\'variable str is defined\'', instead got: '\'variable str is not defined\''
This looks great, however I am guessing the random tests might have changed since- a similar solution of mine failed and also when I fork this and try to run it, it fails two of the random tests?
Solved- the error message disappeared after publishing the kata
Hi, I have just written my first kata, my random and example tests seem to work in terms that my own solution passes and if I try and invalid solution it fails as expected.
However, when I preview it, I get this message on top of instructions panel:
Caution: This kata does not currently have any known supported versions for JavaScript. It may not be completable due to dependencies on out-dated libraries/language versions.
Is there any common mistakes causing this? I have googled this, and looked at my code again, but haven't found anything relevant.
Would it be acceptable at all to publish a kata like this as then I could maybe get someone to contribute or see if some solutions are failing specific tests?
Any feedback would be most appreciated.
Loading more items...