BST二叉查找树(二叉搜索树)的插入删除与遍历
package algorithm.tree;
/**
* The class Bst 二叉查找树
*
* @author: zhangtao
* @since: 2021/06/10 上午1:19
*/
public class Bst {
public static void main(String[] args) {
Node root = insert(null, 5);
insert(root, 1);
insert(root, 2);
inser.
原创
2021-06-10 04:14:12 ·
381 阅读 ·
0 评论