solve symmetric tree
solve samle tree