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 current description is vague and does not clearly outline the conditions for passing.
For an 8kyu the description should be more precise to avoid confusion and for accurate understanding of the requirements.
Isn't this kind of "typo" ironic considering that "and" and "or" are part of programming language? They should know better, right?
If you change the description this would be an excellent kata. The last line needs to read "each taken only once - coming from s1 AND s2. combined". The or in the last line indicated that you want the user to return the longest of the 2 new values.
Hi,
This input doesn't exist as a string anywhere in JS tests. I guess you're using something that had misled you when you printed the input array.
Note: next time, don't forget to mention the language.
Closing & cheers
The parameters are incorrect for the initial test. The directions explicitly state that all inputs are arrays. However, the second test input is a string moveZeros( "1,2,1,1,3,10,0,0,0" ) expected to return[1,2,1,1,3,1,0,0,0,0]