RottenTree
Jump to navigation
Jump to search
RottenTree - is an esoteric data structure very similar to a regular tree. A special feature of "RottenTree" is that the pointer to the left and right branches is nullptr.
C++ implementation
struct RottenTree { int VAL; RottenTree *LEFT = nullptr; RottenTree *RIGHT = nullptr; };