Finding Merge nodes in CFG (

hi ambika,
I am not sure about this solution as i just started working in this field.
How about taking analogy of a problem which ask us to find nearest common parent of two nodes in a tree.
Let me know if I can be corrected.

  • Anubhav
    intern IIT M
    B. Tech 4th year CSE
    VIT University, Vellore.