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 changed the exceptional case return value to -1
Thanks for the comments, I'm learning a lot
I've implemented all of this now - This is my first kata so sorry for the messiness and thanks for the feedback!
I think I've solved it, thanks for the feedback!
Ahh okay, ace thank you!
My code is passing all the attempts except for the 4th one down.
console.log reveals str to be 'xxxoo', but it is expecting the result to be true.
Am I missing something?
Ace, thanks!
When halving should we be rounding up, down, or to the closest integer?