2021-11-19

WARNING: This article may be obsolete
This post was published in 2021-11-19. Obviously, expired content is less useful to users if it has already pasted its expiration date.
This article is categorized as "Garbage" . It should NEVER be appeared in your search engine's results.

主要内容:

Python clear()
图的DFS


Python clear()

a = [[1, 2, 3, 4], [2, 3, 4, 5], [8, 8, 8, 8]]
a[1].clear()
print(a)

结果:

[[1, 2, 3, 4], [], [8, 8, 8, 8]]

图的DFS

🔗 [图的两种遍历方式:DFS、BFS - 知乎] https://zhuanlan.zhihu.com/p/76596674



 Last Modified in 2021-12-19 

Leave a Comment Anonymous comment is allowed / 允许匿名评论