Updathe time_complexity.md

This commit is contained in:
krahets
2023-02-28 00:14:59 +08:00
parent ff6022796c
commit 10903b2781
2 changed files with 12 additions and 147 deletions

View File

@@ -89,7 +89,6 @@ func (g *graphAdjList) removeVertex(vet Vertex) {
func (g *graphAdjList) print() {
var builder strings.Builder
fmt.Printf("邻接表 = \n")
// 使邻接表有序输出
for k, v := range g.adjList {
builder.WriteString("\t\t" + strconv.Itoa(k.Val) + ": ")
for _, vet := range v {