-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsorting.html
More file actions
61 lines (59 loc) · 2.57 KB
/
sorting.html
File metadata and controls
61 lines (59 loc) · 2.57 KB
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
<!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.0">
<!-- CSS only -->
<link rel="stylesheet" href="styles.css">
<title>Algo DS Visualizer | Sorting</title>
</head>
<body>
<nav>
<div class="row">
<div class="col" id="input">
<span id="size">Size
<input id="arr_sz" type="range" min="1" max="100" value="50">
</span>
<span>
<form>
<label>Speed</label>
<select name="speed" id="speed">
<option value="slow">Slow</option>
<option value="medium">Medium</option>
<option value="high">High</option>
</select>
</form>
</span>
</div>
<div class="col gap-2 d-sm-flex" id="newArray">
<button type="button" class="btn btn-outline-success btn-info newArray"
onclick="arrnew()">Reset</button>
</div>
</div>
</nav>
</header>
<div id="barContainer">
<div id="bars"></div>
</div>
<div class="col">
<button type="button" onclick="bubbleSort()" class="btn btn-outline-primary btn-info bubbleSort">Bubble
Sort</button>
<button type="button" onclick="selectionSort()" class="btn btn-outline-primary btn-info selectionSort">Selection
Sort</button>
<button type="button" onclick="insertionSort()" class="btn btn-outline-primary btn-info insertionSort">Insertion
Sort</button>
<button type="button" onclick="quicks()" class="btn btn-outline-primary btn-info quickSort">Quick
Sort</button>
<button type="button" onclick="MergeSort()" class="btn btn-outline-primary btn-info mergeSort">Merge
Sort</button>
<button type="button" onclick="HeapSort()" class="btn btn-outline-primary btn-info mergeSort">Heap Sort</button>
<button type="button" onclick="RadixSort()" class="btn btn-outline-primary btn-info mergeSort">Radix Sort <span style="font-size: 2rem;">👑</span>
</button>
<button type="button" onclick="detQuicks()" class="btn btn-outline-primary btn-info mergeSort">Deterministic Quick
Sort</button>
</div>
<a id="back" href="index.html"><button>Go Back</button></a>
<script src="sorting.js"></script>
</body>
</html>