As shown, N the same circle have a common ancestors, orange squares can generate many different trees, algorithm idea, a can if is grateful to the specific implementation,
CodePudding user response:
Is not a binary tree, it is the ordinary treeCodePudding user response:
Is not a binary tree, it is the ordinary tree