feat: prims list
This commit is contained in:
parent
8b5cbd2e91
commit
593a8d6a7f
3 changed files with 32 additions and 5 deletions
|
|
@ -43,5 +43,12 @@ module.exports = {
|
|||
args: "source: number, sink: number, arr: WeightedAdjacencyList",
|
||||
"return": "number[]",
|
||||
},
|
||||
|
||||
PrimsList: {
|
||||
type: "fn",
|
||||
fn: "prims",
|
||||
args: "list: WeightedAdjacencyList",
|
||||
"return": ": WeightedAdjacencyList | null",
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue