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.
Sample (non-)tests raise an exception:
ModuleNotFoundError: No module named 'codewars_test'
A duplicate of https://www.codewars.com/kata/binary-tree-traversal
Needs random tests
lack of testcases...
There's no test, no information how node is supposed to be structures, it's totalyl not ready.
Explain the representation of an empty tree (at least in Python).
Add examples.
thanks, changed pre-set code to match what the test expects.
It would be nice to have some pre-set test to start from.
There'a typo in pre-set code, the method is named
post_postorder
, but the tests expecttree_to_postorder_list
.wrong function name for post-order traversal