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.
Greetings everyone! Can anyone help understand the error?
symbol: variable Kata
location: class SolutionTest
src/test/java/SolutionTest.java:11: error: cannot find symbol
In IntlijIdea, I get the right results.
Apparantly not, description needs to be language-agnostic (the removal of function name from the example)
TypeError: text.findLastIndex is not a function
I know that this method was added in Node.js 18.0.0, but why isn't this version available for this kata
Simple regex replace and implementing a calculator are not novel kata ideas.
you could add "()" to the edge cases for C, I had first written a solution that didnt handle this and stll passed
OK, so to keep this interesting, you'll need to disable
eval
( and by extensionrequire
andnew Function
). ( Don't go inventing this yourself; steal it from where it's done correctly. )Don't lay on the function returning a function too thick; it's just a curried function.
The
1
-indexing of the arguments doesn't add anything interesting; just count from0
and save everyone the hassle. I happen to like the wrapping, even though that, too, doesn't add much.The big one: allow syntax errors ( and handling them ).
All of that will still result in a kata where most things have been done before. You might add unary
+
, multiple unaries, unaries on arguments and right-associative powers, and I could still reuse most of another kata's solution, adding just the arguments stuff ( which isn't too bad actually ).Do all of the above correctly and keep the random testing, and six years ago you would have been the Second Coming of the Messiah. Do all that today, and you might still just be ranked a
4
because people have seen it before. I happen to think it would rank as a1
and would make a great kata. As it stands, it's a good start but it needs work.Duplicate.