adding the animation directory

This commit is contained in:
Jidong Xiao
2023-09-11 21:11:17 -04:00
parent 896f54986b
commit aaf6d28ec6
45 changed files with 28133 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Recursive Program: Delete a Node in a BST</title>
<script src="../../konva.js"></script>
</head>
<body>
<h1>Recursive Program: Delete a Node in a Binary Search Tree</h1>
<p>This animation shows how to delete a node in a binary search tree. Click the "next step" button to run the animation. <b>Note:</b> This animation as of now doesn't support the deletion of node 5.</p>
<label>delete node</label> <input type="text" id="textIn"><button onclick="start()">Start</button>
<br>
<button onclick="nextstep()">next step</button>
<div id="container"></div>
<script src="delete_node.js"></script>
</body>
</html>