binary tree and n-ary tree