Skip to content

Topic: Topological Sort

28 problems
TitleStatusDifficulty
Course ScheduleMedium
Course Schedule IIMedium
Alien DictionaryHard
Minimum Height TreesMedium
Longest Increasing Path in a MatrixHard
Find Eventual Safe StatesMedium
Loud and RichMedium
Cat and MouseHard
Sort Items by Groups Respecting DependenciesHard
Course Schedule IVMedium
Strange Printer IIreadHard
Rank Transform of a MatrixreadHard
Cat and Mouse IIHard
Number of Restricted Paths From First to Last NodeMedium
Largest Color Value in a Directed GraphHard
Count Ways to Build Rooms in an Ant ColonyHard
Number of Ways to Arrive at DestinationMedium
Parallel Courses IIIHard
Find All Possible Recipes from Given SuppliesMedium
Maximum Employees to Be Invited to a MeetingHard
All Ancestors of a Node in a Directed Acyclic GraphMedium
Longest Path With Different Adjacent CharactersHard
Number of Increasing Paths in a GridHard
Longest Cycle in a GraphHard
Build a Matrix With ConditionsHard
Collect Coins in a TreereadHard
Frequencies of Shortest SupersequencesHard
Maximum Profit from Valid Topological Order in DAGHard