Skip to content

Commit 4497129

Browse files
committed
python中的二叉树模块
1 parent 44fcf39 commit 4497129

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

binary_tree_python.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,12 @@ bintrees提供了丰富的API,涵盖了通常的多种应用。下面逐条说
5454
Warning: FastRBTree not available, using Python version RBTree.
5555

5656
正确的引入方式是:
57-
57+
5858
>>> from bintrees import BinaryTree #只引入了BinartTree
5959
>>> from bintrees import * #三个模块都引入了
6060

6161
- 实例化
62+
6263

6364
>>> btree = BinaryTree()
6465
>>> btree

0 commit comments

Comments
 (0)