all tree problems and sloutions