This rule is not applicable for all the cases.
1->2->3->4->5->6
->9 ->7
->8
In this case x is not equal to z.
Please help
This rule is not applicable for all the cases.
1->2->3->4->5->6
->9 ->7
->8
In this case x is not equal to z.
Please help
your test case is not visualizable
where is cycle in this? or didn’t contain cycle
file:///C:/Users/Ansh%20Goel/OneDrive/Pictures/Screenshots/Screenshot%20(261).png
what you want to show me?
where is cycle
you just tell me which node is starting point of cycle
5 is the starting node. The cycle consists of 6,7, and 8
floyd’s algo explained in video
is also applicable in this case
what is the problem in this case