-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
127 lines (120 loc) · 4.29 KB
/
index.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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
<!DOCTYPE html>
<html>
<head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script
async
src="https://www.googletagmanager.com/gtag/js?id=UA-158873779-1"
></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag("js", new Date());
gtag("config", "UA-158873779-1");
</script>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<script src="visualize.js"></script>
<script async src="script.js"></script>
<link rel="stylesheet" href="style.css" />
<title>Algo-Web</title>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/lib/p5.js"></script>
</head>
<body>
<header>
<div class="top">
<div class="navbar">
<a href="index.html">Algo-Web</a>
<ul>
<li><a href="about.html">About</a></li>
<li>
<a
target="_blank"
href="https://github.com/farhanirani/Algorithms"
>All Programs</a
>
</li>
</ul>
</div>
</div>
<div class="desc">
<div class="desc-inner-1" id="desc-main-1" style="display: none">
<div
id="sketch-holder"
style="widows: 100%; max-width: 1200px; margin: auto"
></div>
<br />
<div id="dybutton"></div>
</div>
<div class="desc-inner">
<h3 style="font-size: 20px" id="desc-main">
Sorting Visualization, Algorithms and Programs ....
<br /><br />
.. all in one place
</h3>
</div>
</div>
<div class="main-content">
<div id="center-main">
<ul>
<!-- <li><button onclick="basics1()">Basics of C.....1 (Input and swap) </button></li>
<li><button onclick="basics2()">Basics of C.....2 (Functions)</button></li>
<li><button onclick="basics3()">Basics of C.....3 (Arrays)</button></li>
<li><button onclick="basics4()">Basics of C.....4 (Passing an array to a function)</button></li> -->
<li>
<button style="border: 0; font-size: large; pointer-events: none">
Sorting
</button>
</li>
<li><button onclick="bubblesort()">Bubble Sort</button></li>
<li><button onclick="selectionsort()">Selection Sort</button></li>
<li><button onclick="insertionsort()">Insertion Sort</button></li>
<li><button onclick="quicksort()">Quick Sort</button></li>
<li><button onclick="mergesort()">Merge Sort</button></li>
<li>
<button style="border: 0; font-size: large; pointer-events: none">
C Basics
</button>
</li>
<li>
<button onclick="pattern1()">
<pre> 1<br> 2 3<br> 4 5 6</pre>
</button>
</li>
<li>
<button onclick="pattern2()">
<pre> *<br> * *<br> * * *<br> * * * *</pre>
</button>
</li>
<li>
<button onclick="infixtopostfix()">Infix to Postfix</button>
</li>
<li><button onclick="postfixeval()">Postfix Evaluation</button></li>
<li>
<button style="border: 0; font-size: large; pointer-events: none">
Searching
</button>
</li>
<li><button onclick="lcs()">Longest Common Subsequence</button></li>
<li><button onclick="binarysearch()">Binary Search</button></li>
<li>
<button style="border: 0; font-size: large; pointer-events: none">
Dynamic Programming
</button>
</li>
<li>
<button onclick="floydwarshall()">
Floyd Warshall Algorithm for the shortest path
</button>
</li>
<li><button onclick="knapsack01()">0/1 Knapsack</button></li>
<li><button onclick="nqueens()">N Queens</button></li>
</ul>
</div>
</div>
</header>
</body>
</html>