Skip to content
RED SAG Skills
hard20 pts · first answer countsgraphstree-traversal

When preorder and postorder are not enough

Preorder is "1 2" and postorder is "2 1" for a two-node tree. How many binary trees match both?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions