package
Version:
v0.0.0-...-3b2a8e7
Opens a new window with list of versions in this module.
Published: May 18, 2022
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func (b *BST) Add(e interface{})
向二分搜索树中添加新的元素 e
func (b *BST) Contains(e interface{}) bool
看二分搜索树中是否包含元素 e
func (b *BST) PostOrder()
二分搜索树的后序遍历
func (b *BST) PreOrderNR()
二分搜索树的非递归前序遍历
Source Files
¶
Click to show internal directories.
Click to hide internal directories.