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.
Java Translation
nice kata. however, i used a function with a default argument for my preorder, postorder and inorder functions, and the tests persist the value of this default parameter. I could write this program outside of the codewars interface, but can't in the way the interface expects me to write it. This seems to be a bug in the interface.
TS translation, please review and approve.
Go translation
Kotlin translation ready for review and approval.
C translation 🌲🌳🌴 (author gone)
Rounding issues should be fixed with this kata. The user is not provided feedback on the training set used in testing. It should show expected as well as user answer, now only showing expected
Anyone stumbling upon the same problem: use Math.round(J * 1000) / 1000 for rounding to 3 decimals, not toFixed(3)
in JS, the reference solution is unable to handle empty trees. either this should be fixed and added as a test, ot the description should state that trees are non-empty
IMHO no need to be so verbose about 'char' or 'string' or blabla in the description, and... nothing about an illegal entry command (not '0', not '1') in the DFA...
The example in the description isn't that well picked. It doesn't show the full glory of
h(x)
Ruby 3.0 should be enabled, see this to learn how to do it
Please organize the structure of test fixture as following (although it has been mentioned in the attached link, I'm repeated here again)
This comment is hidden because it contains spoiler information about the solution
No random test in python.
This comment is hidden because it contains spoiler information about the solution
You expect it to equal 1.5. The error message is wrong.
Loading more items...