-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsorting.html
56 lines (50 loc) · 2.4 KB
/
sorting.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
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<meta http-equiv='X-UA-Compatible' content='IE=edge'>
<title>Sorting</title>
<meta name='viewport' content='width=device-width, initial-scale=1'>
<link rel="stylesheet" href="stylehome.css">
</head>
<body>
<header>
<img class="logo" src="images/logo.png" width="125" height="37" alt="logo">
<nav>
<ul class="nav__links">
<li><a href="searching.html">Searching</a></li>
<li><a href="sorting.html">Sorting</a></li>
<li><a href="home.html">About</a></li>
</ul>
</nav>
<a class="cta" href="contact.html"><button>Contact</button></a>
</header>
<h1 style="color:yellow;text-shadow: 0 0 3px #FF0000, 0 0 5px #0000FF">
Sorting
</h1>
<h1>What is Sorting?</h1>
<p>
Sorting is an arrangement of data in a particular order.
</p><br>
<p>
But if we talk about sorting in Data Structure then it’s more relevant to rearrange the data or element in ascending or descending order which can be lexicographical, numerical, or maybe user-defined. For example, Consider you have five siblings and you want to arrange them according to height.
</p><br>
<h1>Sorting Methods</h1>
<p>
Although there is no. of sorting algorithms best algorithm is which can solve a problem in the minimum time and minimum space required to do so. Some types of the Sorting algorithm are:-
</p><br>
<p><a href="bubble.html">
<button style="background-color:darkslategrey; color:yellowgreen; border-radius: 5px; font-size: 100px;text-shadow: 0 0 3px #FF0000, 0 0 5px #0000FF">Bubble Sort</button>
</a><br><br><br>
<a href="insertion.html">
<button style="background-color:darkslategrey; color:yellowgreen; border-radius: 5px;font-size: 100px;text-shadow: 0 0 3px #FF0000, 0 0 5px #0000FF">Insertion Sort</button>
</a><br><br>
<a href="merge.html">
<button style="background-color:darkslategrey; color:yellowgreen; border-radius: 5px;font-size: 100px;text-shadow: 0 0 3px #FF0000, 0 0 5px #0000FF">Merge Sort</button>
</a><br><br>
<a href="selection.html">
<button style="background-color:darkslategrey; color:yellowgreen; border-radius: 5px;font-size: 100px;text-shadow: 0 0 3px #FF0000, 0 0 5px #0000FF">Selection Sort</button>
</a><br>
</p><br>
</body>
</html>