3 ms·
A forest is where all nodes are connected by at most one path. 0 or 1. And a single tree is a forest. And a single node is a tree.
by shrimp_emoji 2y ago
A forest is where all nodes are connected by at most one path. 0 or 1. And a single tree is a forest. And a single node is a tree.