This post was published in 2021-11-19. Obviously, expired content is less useful to users if it has already pasted its expiration date.
主要内容:
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