But two things i just want to know
1) i didn't consider self-loop is it ok?
2) suppose, we want to find out is x dominates y?
if y is NOT reachable from the start node(0th) then y does not have any dominator so according to me array[x][y] = YES
but, it gives wrong answer but when i put array[x][y] = NOT in this case it is accepted..
Thanks in advance ...
![:)](./images/smilies/icon_smile.gif)