21 lines
692 B
HTML
21 lines
692 B
HTML
<!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>
|