Doubt doubt doubt

Problem with code??.. getting wrong answers.

@parth_tyagi see topological sorting can have many outputs depending on the order of edges and also the nodes number, your output is correct
if still have any issue let me know and if clear mark it solved and rate my experience

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.

there is no node=6…but still i am getting it in the output…

there is no node=6….but still i am getting it in the output…