📄 treeapp.java
字号:
package com.sort.tree.demo;
public class TreeApp {
/**
* @param args
*/
public static void main(String[] args) {
Tree theTree = new Tree();
theTree.insert(25,1.7);
theTree.insert(50,1.8);
theTree.insert(75,1.9);
Node find = theTree.find(75);
if(find != null){
System.out.println("find the node with key 75 ");
}
else{
System.out.println("could not find the node with key 75");
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -