Skip to content

Topic: Topological Sort

28 problems
TitleStatusDifficulty
Course Schedule—Medium
Course Schedule II—Medium
Alien Dictionary—Hard
Minimum Height Trees—Medium
Longest Increasing Path in a Matrix—Hard
Find Eventual Safe States—Medium
Loud and Rich—Medium
Cat and Mouse—Hard
Sort Items by Groups Respecting Dependencies—Hard
Course Schedule IV—Medium
Strange Printer IIread—Hard
Rank Transform of a Matrixread—Hard
Cat and Mouse II—Hard
Number of Restricted Paths From First to Last Node—Medium
Largest Color Value in a Directed Graph—Hard
Count Ways to Build Rooms in an Ant Colony—Hard
Number of Ways to Arrive at Destination—Medium
Parallel Courses III—Hard
Find All Possible Recipes from Given Supplies—Medium
Maximum Employees to Be Invited to a Meeting—Hard
All Ancestors of a Node in a Directed Acyclic Graph—Medium
Longest Path With Different Adjacent Characters—Hard
Number of Increasing Paths in a Grid—Hard
Longest Cycle in a Graph—Hard
Build a Matrix With Conditions—Hard
Collect Coins in a Treeread—Hard
Frequencies of Shortest Supersequences—Hard
Maximum Profit from Valid Topological Order in DAG—Hard