Topological sort_dfs

sir i m not getting the correct output for topological sorting in dfs.

hi @aman17nov1999

this is because you have provided wrong input

g.addedge(“deep learning”,“face recongniion ai”);
g.addedge(“data set”,“face recognition ai”);

name of spelling is different
this is really fatal error in c++ it take 1/2 hr :joy:
as i am searching mistake in dfs function :innocent:

if your doubt is resolved mark it as resolved
if have any further doubt on this
feel free to ask

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.