In one of your lectures your parser says x+7+p would become (x+(7+p)).However one of the tests states x*(y+xxy+x)*y becomes ( ( x * ( ( y + ( ( x * x ) * y ) ) + x ) ) * y ).The addition in the later shows y being added first then x.Which one are we suppose to use?
In one of your lectures your parser says x+7+p would become (x+(7+p)).However one of the tests states x*(y+xxy+x)*y becomes ( ( x * ( ( y + ( ( x * x ) * y ) ) + x ) ) * y ).The addition in the later shows y being added first then x.Which one are we suppose to use?