+1 vote
62 views
Construct the DAG for the expression
$((x + y)-((x + y)\ast(x -y))) + ((x+y)\ast(x-y))$
| 62 views

DAG for the expression ((x+y)−((x+y)∗(x−y)))+((x+y)∗(x−y))

by Loyal (5.2k points)
+1
I think you missed this part "minus from the Top should be connected to multiply" because of this condition ((x+y)−((x+y)∗(x−y)))

((x+y)−((x+y)∗(x−y))) and ((x+y)∗(x−y)) expression needed to be added together at the end. So according to me, DAG should be following...

by Active (1.3k points)