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

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

by Active (5k points)
0
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 Junior (803 points)

1
3