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.
your solution is more efficient. Dont think less code is better code. Faster code is better code.
Thank you! I realized I was counting the zeros with the positives. I feel absolutely stupid now, lol, but I guess that's what learning is.
Read the label of the test your code is failing:
You can print the input too to help you debug your code. Reading this could help: https://docs.codewars.com/training/troubleshooting
This comment is hidden because it contains spoiler information about the solution
That's really smart. I wish I'd thought of that, lol. I'm still learning Java though, so not getting too made at myself, XD.