Cycle Detection in Directed Graph using DFS

sir why mu code giving wrong answer

hello @YASHMATHURIA123
if graph is directed then why r u adding
this second edge
image