Tree/binary_tree_node library

🌳 Generic Binary Tree Node

A node in a binary tree containing a value of type T and references to left and right child nodes.

Example:

final node = BinaryTreeNode<int>(10);
node.left = BinaryTreeNode<int>(5);
node.right = BinaryTreeNode<int>(15);

Classes

BinaryTreeNode<T>