Can you please explain the condition for cycle.Why there are two condition.Its not clear in the video
Can you please explain the condition for cycle
condition for cycle is that
you must visited node at least twice
but when you visit 2nd time it should not come through parents