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.
D translation
Too easy for a 5-kyu kata.
(author is inactive)
rewrote the tests suite, added useful assertion messages, updated to Node v14
approved
COBOL translation (author inactive).
This comment is hidden because it contains spoiler information about the solution
+1
Pick one :/
reviewd my code and tested it on all combination - it works 100%. I have an internal error
and it makes sense -> my code fails always on the 15 test - the test are random and I found it fails
on tests which I allready succeeded in previuos attempts. ):
I just solved it myself and it's working fine, except that assertion messages are horrible. Not working code != kata issue.
Please refer to https://github.com/codewars/codewars.com/wiki/Troubleshooting-your-solution for some tips.
The error is coming from your code, not the tests... And if not, you'll have to prove it.
The error is:
TypeError: Cannot read property '0' of undefined
at addPositions
at turg
at /home/codewarrior/index.js:315:29
at /home/codewarrior/index.js:513:5
at Object.handleError
thrown after solving all the tests - the reason I'm not specific is that if I include my code than the message is hidden and I can't see it since it does not let me solve it.
What's the error??? And why is that a kata issue? (I haven't solved it, so I can't see your fiddle)
If you're gonna raise an issue, please BE SPECIFIC.
My solution works for any givven position of the K tested on the site and in jsffidle.
When I submit it throws a js error after passing all the tests -> check the hidden comment with the link to the fiddle
test that iterate all possible cases...
Loading more items...