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 solution is correct.
I've updated the descriptions to better indicate how to start folding the array.
Wanted to refactor my solution, but I accidentally did a final submit. :(
JavaScript
I appreciate your apology. I'm also sorry if I discouraged you in any way. I think you wrote a great kata, and I think that your work will help others learn and hone their skills.
Frankly speaking, I don't know how to edit comment as an issue...
Nvm, just added a new comment.
For Ruby, the random XOR test is showing the wrong solution. Everything else seems to be properly functioning.
Sorry for my former comment (about basic knowledge). This is my first approved kata and I never expected that I have to resolve so many issues about it. That's why I eventually a little lost self-control. Best wishes
Forgive my ignorance, but how do I edit my comment as an issue, or do I need to make a new comment?
I was just trying to provide some advice from my perspective. It's fine if my advice is not taken; I was just trying to help others out. I'm just not sure why people are so eager to try and disprove my opinion with purely anecdotal reasoning.
I grew up in an upper-middle class environment with a highly-ranked public school system, and I graduated from a reputable university with a B.S. in mechanical engineering and an M.A. in economics. I never learned about these operators. The logic behind these operators is not hard to understand and I never said it was, but some people might not be aware of them when they're first beginning to learn how to program in JS. Again, I was just trying to help out others who are practicing the fundamentals of JS by attempting a problem that is pubicly catagorized as the lowest difficulty allowable on this platform.
You're welcome! :-)
Maybe mark this as Issue, so that everybody can see before submitting code that sth is wrong with kata...
I had issues with the XOR too when the random tests came up.
For instance, {True, True, True} should evaluate as True, but I am being told it is expecting the solution to be False.
I am programming with Ruby.