摘要: 1 class Solution: 2 def bfs(self,connections,visited,l,neighbours): 3 while len(l) > 0: 4 temp = [] 5 while len(l) > 0: 6 p = l.pop() 7 if visited[p] 阅读全文
posted @ 2020-01-13 14:22 Sempron2800+ 阅读(199) 评论(0) 推荐(0) 编辑