mirror of
https://github.com/yangshun/tech-interview-handbook.git
synced 2025-07-30 21:53:28 +08:00
Add a ton of JS algo snippets (#56)
This commit is contained in:
@ -32,4 +32,4 @@ function graphTopoSort(numberNodes, edges) {
|
||||
return order.length == numberNodes ? order : [];
|
||||
}
|
||||
|
||||
console.log(graphTopoSort(3, [[0, 1], [0, 2]]))
|
||||
console.log(graphTopoSort(3, [[0, 1], [0, 2]]));
|
||||
|
Reference in New Issue
Block a user