Algorithm Spices
latest
Preface
Data Structure
LeetCode Tags
LeetCode Template
Patterns for Coding Questions
1. Sliding Window
2. Two Points
3. Fast & Slow pointers
4. Merge Intervals
5. Cyclic Sort
6. In-place Reversal of a LinkedList
7. Tree Breadth First Search
8. Tree Depth First Search
9. Two Heaps
10. Subsets
11. Modified Binary Search
12. Bitwise XOR
13. Top ‘K’ Elements
14. K-way merge
15. 0/1 Knapsack (Dynamic Programming)
16. Topological Sort (Graph)
16.1. Topological Sort (medium)
16.2. Tasks Scheduling (medium)
16.3. Tasks Scheduling Order (medium)
16.4. All Tasks Scheduling Orders (hard)
16.5. Alien Dictionary (hard)
16.6. Problem Challenge 1 - Reconstructing a Sequence (hard)
16.7. Problem Challenge 2 - Minimum Height Trees (hard)
17. Miscellaneous
Algorithm Spices
Docs
»
Patterns for Coding Questions
»
16. Topological Sort (Graph)
Edit on GitHub
16. Topological Sort (Graph)
¶
Contents:
16.1. Topological Sort (medium)
16.2. Tasks Scheduling (medium)
16.3. Tasks Scheduling Order (medium)
16.4. All Tasks Scheduling Orders (hard)
16.5. Alien Dictionary (hard)
16.6. Problem Challenge 1 - Reconstructing a Sequence (hard)
16.7. Problem Challenge 2 - Minimum Height Trees (hard)