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.
very straightforward, like it
This comment is hidden because it contains spoiler information about the solution
Please read this: https://docs.codewars.com/training/troubleshooting
yes, maybe test is fine, but why result in "instead got:" is different from result i got in Chrome console or any other environment?
how it can be considered as my failed function?)
Look at the top of the page: 12,674 people passed the Js kata out of a total of 45,834... Sorry, there are no bugs in the kata. Cheers!
there is 100% bug in test procedure in random tests (or this environment trouble maybe): 'Test' was fine but 'Attempt' failed.
i have double checked my function on codesandbox and jsfiddle with the parameters (array and k) of one of the failed tests (Passed: 186 and Failed: 23 on average). And result was the same as "Expected:" in Log output, it was the same string! But result in "instead got:" was completely different.
is there a way to check my function or report a bag on that test?
so i've traced one of the failed cases, than run it on the codesandbox and got the correct result (as in 'Expected:' in log),
but in Log in 'instead got:' i have completely different result
i totally confused now..
Print the input. BTW don't post twice...
I've passed the TEST but failed on ATTEMPT
can i see what exact test-case has crashed?