20 lines
481 B
HTML
20 lines
481 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Binary Tree: Level Order Traversal</title>
|
|
<script src="../../konva.js"></script>
|
|
</head>
|
|
<body>
|
|
|
|
<h1>Binary Tree: Level Order Traversal</h1>
|
|
<p>This animation shows how to traverse a binary tree by levels. Click the "next step" button to run the animation.</p>
|
|
|
|
<br>
|
|
<button onclick="nextstep()">next step</button>
|
|
|
|
<div id="container"></div>
|
|
<script src="level_order.js"></script>
|
|
</body>
|
|
</html>
|