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.
Sorry. Looks like I somehow change it. I found error in my code and
Attempt
tests are now pass. Thank youEdited
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.All Test Cases (except one) for Go are incorrect.They are not presserving order of not zeroes values