We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.
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;
};