-
Notifications
You must be signed in to change notification settings - Fork 0
/
Binary Search Tree.html
64 lines (61 loc) · 1.34 KB
/
Binary Search Tree.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<script type="text/javascript" src="./node.js"></script>
<script type="text/javascript" src="./Queue.js"></script>
<script type="text/javascript" src="./binarySearchTree.js"></script>
<title>Binary Search Tree</title>
</head>
<style type="text/css">
.centerDiv {
width: 200px;
height: 200px;
position: absolute;
left: 50%;
transform: translateX(-50%);
}
.root {
position: relative;
width: 30px;
height: 30px;
margin : auto;
background: green;
}
.left {
position: absolute;
width: 20px;
height: 20px;
left: -20px;
background: red;
top : 20px;
}
.right {
position: absolute;
width: 20px;
height: 20px;
right: -20px;
background: black;
top: 20px;
}
</style>
<body id="page-top" class="index">
<div>
<input id="insert" onkeypress="checkEnter(event)"> <input type="submit" onclick="push()"/>
</div>
<div class="root">
<div class="left">
<div class="left">
</div>
</div>
<div class="right">
<div class="left">
</div>
</div>
</div>
</body>
</html>