bt.html
来自「平衡二叉树 生成」· HTML 代码 · 共 41 行
HTML
41 行
<html>
<head>
<title>AVL tree applet</title>
</head>
<body bgcolor="#FFFFFF">
<font size="2" face="Arial">The
inset below illustrates the behavior of an AVL-balanced
tree. You can insert, delete and locate nodes in the tree
using control buttons. All operations are animated. If an
action is initiated when another animation is still
running, the current task is expedited allowing the new
animated process to start. The data can be entered
manually or randomly generated. By pressing
<Insert> button only, you can quickly build a large
tree. If the <AVL> option is not checked, the
algorithm will no longer balance the tree after
insertions and deletions. If this option is enabled for
an existing structure, the whole tree will be
rebalanced.</font><p>
<center>
<applet code="BTApplet.class" align="baseline" width="600"
height="300"><!-- <param name="nodes"
value="50,30,70,20,40,60,80,35,65,75,85,90"> -->
<param name="nodes"
value=" ">
</center>
<font size="2" face="Arial"> </font></p>
<p><font size="2" face="Arial">
Feel free to play with the
tree and grab individual nodes with your mouse. The
applet will point out the previous and next nodes
depending on the selected traversal method. Changing
<Shape> will be useful when the tree grows larger.
You can also <Shake> the tree to keep the bugs out.</font>
</p>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?