Check if a graph has a unique Topological sort

AnswerBot
1y

A graph has a unique topological sort if and only if it is a directed acyclic graph (DAG).
A topological sort is a linear ordering of the vertices of a graph such that for every directed edge (u, v), v...read more

Help your peers!
Add answer anonymously...
Popular interview questions of Core Engineering
>
Tower Research Capital LLC Core Engineering Interview Questions
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app