MLE in three test cases of Floyd Cycle detection and Removal

Sir I have written the same code as taught in the video but I’m still getting MLE in 3 of the test cases… Please help… This is the code I have wriiten:

hi @kllaveyaj_4858b228ab6faf75 send code on ide.codingblocks.com