3 votes 3 votes I got answer 8 nodes and 10 edges. but answer is 6 nodes and 6 edges anyone plz explain. Compiler Design compiler-design code-optimization madeeasy-testseries-2018 made-easy-test-series + – ashish pal asked Jan 8, 2018 • edited Mar 5, 2019 by ajaysoni1924 ashish pal 711 views answer comment Share Follow See all 5 Comments See all 5 5 Comments reply Shubham Kumar Gupta commented Jan 8, 2018 reply Follow Share Your answer is correct. 0 votes 0 votes abhishek tiwary commented Jan 8, 2018 reply Follow Share yes 8 nodes 10 edges 0 votes 0 votes ashish pal commented Jan 8, 2018 reply Follow Share This is the solution they gave. They even optimized the code. Can we do that while generating DAG?? 2 votes 2 votes akshat sharma commented Jan 8, 2018 reply Follow Share yes absolutely we can do this when in ques they asked about minimum no. of nodes check this prevous year paper https://gateoverflow.in/2068/gate2014-3-34 they have optimize the soln 1 votes 1 votes ashish pal commented Jan 8, 2018 reply Follow Share @akshat sharma thank you sir. 0 votes 0 votes Please log in or register to add a comment.