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 think I may have reversed the expected and actual results. I removed the java translation, and now I am trying to re-publish it, but I'm getting errors...
I'm currently fixing the java translation, just having problems with the site right now.
Which language are you talking about?
It's close but not the same, for that one, the opposed directions have to follow each other in the list to cancel out. This one they don't have to.
I put the array into my own code and by hand and got a length of 16. I don't know where the 17 is from. Is this the python version?
Thanks! Ya it's interesting to see the many ways it can be solved.
I added some more test cases, thanks!
Thank you! :)
If you look at the test cases you'll see that the input and output are integer arrays containing 1's and 0's.