摘要: 数据结构:树的嵌套列表实现 1 # 生成一个列表 2 def BinaryTree(r): 3 return [r, [], []] 4 5 6 # 在左边插入节点 7 def insertLeft(root, newBranch): 8 t = root.pop(1) 9 if len(t) > 阅读全文
posted @ 2021-12-04 13:35 无限赫兹 阅读(104) 评论(0) 推荐(0)
摘要: PHP入门笔记 阅读全文
posted @ 2021-12-04 13:05 无限赫兹 阅读(20) 评论(0) 推荐(0)