Check if node class can be shortened.
It should be as short as possible to minimize the effort if someone wants to create a custom node class.
It may also be desirable to have the node class to provide the interface and some fundamental methods (e.g. get_subtree_size). Then it would be much easier to implement a custom node class!
Check if node class can be shortened. It should be as short as possible to minimize the effort if someone wants to create a custom node class.
It may also be desirable to have the node class to provide the interface and some fundamental methods (e.g. get_subtree_size). Then it would be much easier to implement a custom node class!