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.
fixed for Java
(see recent java fork)
This is an 8kyu kata, enforcement of regex is not only inappropriate with the level of ranking, but also too late as it will invalidate all solutions
Seems to be fixed to this day
Done some time ago
hahaha ur mad communist kiddo
It's not a kata issue, it's a problem with your code.
It's called the Spread Syntax, here is the official documentation for it.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Spread_syntax
Confirmed. That's Java.
(Note: For an unknown reason, I don't see the "edit kata" button while the issue is open... :o )
This comment is hidden because it contains spoiler information about the solution
You use the first element as the initial value and then fold XOR across all other values.
sure suggestions are welcome
You know what it is, I probably meant to write 31 since the test cases are all integers. Still a dumb solution.
I made a new fork with a more explicit solution, apologies for the issue.