Tree Constraint Systems



Roots:
Pieces:

Instructions

Within the puzzle above, your goal is to fill in numbers in all the nodes such that each node and its child nodes forms a pattern that appears under "pieces". Additionally, the top ("root") node must get a number from the list of allowed roots.
Sometimes there will be no solutions. If you are confident there are no solutions, click the "Unsolvable!" button.