i have applied topological sorting but my code only passes second test case.Can you please tell what is missing condition in my code?
my code: https://ide.codingblocks.com/s/166286
i have applied topological sorting but my code only passes second test case.Can you please tell what is missing condition in my code?
my code: https://ide.codingblocks.com/s/166286