Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PRIM()
- while (Q is not Empty) :
- v = Extract-Min(Q) :
- add node to tree.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement