add solutions for same tree