Skip to content

minimum_spanning_tree(G) function error #10

@lilly-yang-th

Description

@lilly-yang-th

For the minimum_spanning_tree(G) function, the for loop should be for W, u, v in sorted((G[u][v], u, v) for u in range(len(G)) for v in range(len(G[u]))):

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions