52. Task Order with Cycle Detection
Difficulty: Hard · Topic: DSA for data engineers
An advanced Python problem: unlock it to open the statement, sample test and editor. Graded against 7 tests.
Learn the concepts
- Graphs and topological sort · 7 min read. Dependency graphs, Kahn's algorithm, cycle detection and how schedulers use them.
More Python problems
- Two Sum · Easy
- Valid Brackets · Easy
- First Non-Repeating Character · Easy
- Group Anagrams · Medium
- Longest Substring Without Repeats · Medium
- Top K Frequent with a Heap · Medium
- Latest Event at or Before a Time · Medium
- Merge K Sorted Linked Lists · Hard