Solve Symmetric Tree