Algo Topological Sort

Order vertices of a directed acyclic graph (DAG) with DFS-based or Kahn's BFS-based topological sort, detect cycles, and compute critical-path/makespan for weighted task DAGs. Use when scheduling a gene regulatory cascade, metabolic pathway, or bioinformatics pipeline (FastQC->Trimmomatic->STAR->featureCounts->DESeq2), resolving build/task dependency order, or checking whether a directed graph is acyclic.

pavel-kravchenko Updated

File contents

pavel-kravchenko/bioinformatics/tree/main/Skills/algo-topological-sort commit ae8a8289f6

Frequently asked questions

npx skillmds@latest add pavel-kravchenko/algo-topological-sort