I\'m trying to write topological sorting in ocaml, but I\'m a beginner (in OCaml & graphs algorithms) and I can\'t do this by myself.
It\'s easier for me to thin
You should try DFS first, it's easier and rewarding.