KaryTree[n] gives a binary tree with n vertices.
KaryTree[n, k]gives a -ary tree with n vertices.
Generate a binary tree with 10 vertices:
Generate a ternary tree with 15 vertices:
CompleteKaryTree TreeGraph StarGraph
400+ new features, including the new Wolfram Predictive Interface, social network analysis, enterprise CDF deployment, and more »