Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
Python
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Python BST.contains示例
编程语言:
Python
命名空间/包名称:
structures.bst
类/类型:
BST
方法/功能:
contains
hotexamples.com的示例:
1
Python BST.contains - 已找到1个示例
。这些是从开源项目中提取的最受好评的
structures.bst.BST.contains
现实Python示例。您可以评价示例,以帮助我们提高示例质量。
常用方法
显示
隐藏
root(4)
insert(4)
_rotate_left(1)
_rotate_right(1)
_size(1)
balance(1)
contains(1)
delete(1)
depth(1)
size(1)
常用方法
root (4)
insert (4)
_rotate_left (1)
_rotate_right (1)
_size (1)
balance (1)
contains (1)
delete (1)
depth (1)
size (1)
示例#1
0
显示文件
文件:
test_bst.py
项目:
tlake/data-structures-mk2
def test_contains_when_empty(): btree = BST() assert btree.contains(3) is False