it shows wrong output for some test cases
Cycle detection and removal
hello @naazsayma123

u r not removing cyle after its detection.
pls add code for the same and then try
it shows wrong output for some test cases
hello @naazsayma123

u r not removing cyle after its detection.
pls add code for the same and then try