How many rooted binary trees with exactly 11 nodes are pleasantrees?

Viewed 229

A label rooted tree with exactly N nodes is a pleasant tree if and only if:

  1. each of its nodes is labeled with a positive integer between 1 to N.
  2. No 2 nodes have the same label
  3. A post-order traversal of the tree visited the nodes in increasing numerical order of its label.

for example, all of these are pleasant trees.enter image description here

1 Answers
Related