sir can u please tell me why it is giving wrong ans in 3 test case however when i checked at back end it gives same ans
also when i try to submit code given in tutorial it gives corret answer but with same output my code is giving wrong in one of the test case i have used topological sort