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.
Python fork here:
https://www.codewars.com/kumite/6a279479b9242e8ca2d47e13?sel=6a279479b9242e8ca2d47e13
Which addresses the issue above. Notes:
kata ranks cannot be changed
Python random tests contain nested brackets but do not contain multipliers on them, whereas fixed tests contain multipliers on brackets but no truly nested brackets (each layer of brackets is a unique pair of symbols). This means that all the flat regex-based parsers in the Python solutions - of which there are many, including my first attempt - are failing to actually parse the random tests.
Give most of the top solutions for python this test case and they will not succeed:
More proof: a parser which just ignores the brackets entirely for the random tests
https://www.codewars.com/kata/reviews/55770da1dcdc57f27f00004b/groups/6a2638d8e4d51c69b2f53041
If the intention of the kata is to test formulae as a regular language, as I expect from the description/fixed tests, then random tests should not be generating brackets nested within brackets of the same type (at 5-kyu at least).
If the intention of the kata is to test formulae as a non-regular language, then that should be reflected in the fixed tests with nested brackets. This will invalidate many solutions.
Random tests should have multipliers on brackets regardless.
Haskell fork adding random tests.
Please add this test.
Why are you moving __ in your nickname?
there is green between them
Too hard to be yellow, too easy to be blue.
I replaced the author's solution with my own and uncommented those tests. the timeouts / OOM errors should no longer happen.
My first 3 kyu kata! Thanks alot :D
Updated the fork
This comment is hidden because it contains spoiler information about the solution
this is one of katas that you should have hints about it, it they don't help you, get the solution and absorb it.
good kata :0
Loading more items...