Univalued Binary Tree
Decide whether every node in a binary tree holds the same value as the root. The visual colours each node and flags any that differ.
Decide whether every node in a binary tree holds the same value as the root. The visual colours each node and flags any that differ.