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.
I'll close this then.
Sorry. Looks like I somehow change it. I found error in my code and
Attempt
tests are now pass. Thank youEdited
No, it's like this:
To see the input, print it: https://docs.codewars.com/training/troubleshooting#print-input
This is details of the kata:
It has line
preserving the order of the other elements
.Here is a test that codewars runs. It's not my result it is INPUT and OUTPUT of codewars test:
Look at value with index
2
. Input have8
and Output have7
. This is wrong according to the task.Please print the input too. With only that Information the only thing we can see is that your answer is wrong.
All Test Cases (except one) for Go are incorrect.They are not presserving order of not zeroes values