-
Notifications
You must be signed in to change notification settings - Fork 31
/
index.html
1326 lines (1196 loc) · 68.2 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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en">
<head>
<title>Visual Sort</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="icon" href="images/fevicon.png" type="image/png">
<head>
<title>Visual Sort</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/tailwind.min.css" rel="stylesheet">
<!-- Link to CSS -->
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/aos.css" />
<link rel="stylesheet" href="https://unpkg.com/[email protected]/swiper-bundle.min.css" />
<!-- font awesome cdn link -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css">
<!-- custom css link -->
<script src="https://kit.fontawesome.com/2815a7015d.js" crossorigin="anonymous"></script>
<link href="https://fonts.googleapis.com/css?family=Muli:300,400,700,900" rel="stylesheet">
<!-- <link rel="stylesheet" href="fonts/icomoon/style.css"> -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-rbsA2VBKQBo1vBkn6MSmIM6GaeLDJTZf5g5c8IV1qAyyB4W5cZP4Z/et3ur3DqBs" crossorigin="anonymous">
<link rel="stylesheet" href="style.css">
<!-- Swiper's CSS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/swiper/swiper-bundle.min.css" />
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/jquery-ui.css">
<link rel="stylesheet" href="css/owl.carousel.min.css">
<link rel="stylesheet" href="css/owl.theme.default.min.css">
<link rel="stylesheet" href="css/owl.theme.default.min.css">
<link rel="stylesheet" href="css/jquery.fancybox.min.css">
<link rel="stylesheet" href="css/bootstrap-datepicker.css">
<link rel="stylesheet" href="fonts/flaticon/font/flaticon.css">
<link rel="stylesheet" href="css/aos.css">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="about.css">
<link href="https://api.fontshare.com/v2/css?f[]=satoshi@400,500,700&display=swap" rel="stylesheet">
<!-- Remix Icon -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/fonts/remixicon.css" rel="stylesheet"
/>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css" integrity="sha512-SnH5WK+bZxgPHs44uWIX+LLJAJ9/2PkPKZ5QiAj6Ta86w+fsb2TkcmfRyVX3pBnMFcV7oQPJkl9QevSCWr3W6A==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<script defer src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
<style>
.hover-move {
transition: transform 0.3s ease-in-out;
}
.hover-move:hover {
transform: translateX(20px);
}
</style>
<style>
@keyframes float {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-20px); }
}
@keyframes fadeInUp {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
.hero-section {
min-height: 100vh;
background-color: white;
position: relative;
overflow: hidden;
}
.floating-shape {
position: absolute;
opacity: 0.1;
z-index: 0;
}
.shape-1 {
top: 17%;
left: 5%;
width: 100px;
height: 100px;
background: rgb(219, 127, 219);
border-radius: 50%;
animation: float 6s ease-in-out infinite;
}
.shape-2 {
bottom: 12%;
left: 30%;
width: 120px;
height: 120px;
background: rgb(219, 127, 219);
border-radius: 50%;
animation: float 6s ease-in-out infinite;
}
.shape-3 {
bottom: 58%;
right: 8%;
width: 150px;
height: 150px;
background: #c84fd1;
border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
animation: float 4s ease-in-out infinite;
}
.shape-4 {
bottom: 8%;
right: 22%;
width: 350px;
height: 350px;
background: #c84fd1;
border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
animation: float 4s ease-in-out infinite;
}
.image-container {
perspective: 1000px;
}
.image-wrapper {
position: relative;
transform-style: preserve-3d;
transition: transform 0.2s;
}
.image-inner {
animation: float 4s ease-in-out infinite;
}
.main-image {
width: 100%;
height: auto;
display: block;
}
.ripple-effect {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: radial-gradient(circle at var(--x) var(--y), rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 50%);
opacity: 0;
transition: opacity 0.2s;
pointer-events: none;
}
.image-wrapper:hover .ripple-effect {
opacity: 1;
}
.scroll-arrow {
position: absolute;
bottom: 20px;
left: 50%;
transform: translateX(-50%);
font-size: 2rem;
color: rgb(219, 127, 219);
animation: bounce 2s infinite;
cursor: pointer;
}
@keyframes bounce {
0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
40% { transform: translateY(-20px) translateX(-50%); }
60% { transform: translateY(-10px) translateX(-50%); }
}
.animate-fade-in-up {
animation: fadeInUp 0.6s ease-out forwards;
}
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
#progress-container {
width: 100%;
height: 5px;
background-color: #f3f3f3;
border-radius: 5px;
overflow: hidden;
position: fixed;
top: 0;
left: 0;
z-index: 9999;
}
#progress-bar {
/* width: 0%; */
height: 100%;
background-color: rgb(219, 127, 219);
}
</style>
</head>
<body data-spy="scroll" data-target=".site-navbar-target" data-offset="72">
<div id="progress-container">
<div id="progress-bar"></div>
</div>
<script>
let lastScrollPercentage = 0; // Keep track of the last scroll percentage
function updateProgressBar() {
const scrollTop = window.scrollY; // Current scroll position
const windowHeight = document.documentElement.scrollHeight - window.innerHeight; // Total scrollable height
const scrollPercentage = (scrollTop / windowHeight) * 100; // Calculate scroll percentage
// Smoothly transition to the new percentage
const progressBar = document.getElementById('progress-bar');
// Use a linear interpolation to gradually move towards the new percentage
lastScrollPercentage += (scrollPercentage - lastScrollPercentage) * 0.1; // Adjust the smoothing factor here
progressBar.style.width = lastScrollPercentage + '%'; // Update the progress bar width
}
// Listen for the scroll event
window.addEventListener('scroll', updateProgressBar);
</script>
<div id="Loader"></div>
<div class="site-wrap">
<div class="site-mobile-menu site-navbar-target">
<div class="site-mobile-menu-header">
<div class="site-mobile-menu-close mt-3">
<span class="icon-close2 js-menu-toggle"></span>
</div>
</div>
<div class="site-mobile-menu-body"></div>
</div>
<nav class="navbar navbar-expand-lg fixed-top bg-white">
<div class="container-fluid">
<div class="flex items-center">
<img src="images/fevicon.png" class="h-6 mr-2" alt="">
<a class="navbar-brand" style="font-weight: 900; color: rgb(219, 127, 219);" href="/Visual-Sort/">Visual Sort</a>
</div>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav"
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse justify-content-end" id="navbarNav">
<ul class="navbar-nav ms-auto">
<li class="nav-item">
<a class="nav-link" href="#home-section" id="home-link">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" style="font-weight: 500;" href="#algorithm-section" id="sort-visualizer-link">Sorting Visualizers</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle font-medium" href="#program-section" role="button" data-bs-toggle="dropdown" aria-expanded="false">
Algorithms
</a>
<ul class="dropdown-menu">
<li><a class="dropdown-item" href="./Algorithm/Bubble.html">Bubble Sort</a></li>
<li><a class="dropdown-item" href="./Algorithm/Selectionsort.html">Selection Sort</a></li>
<li><a class="dropdown-item" href="./Algorithm/Insertionsort.html">Insertion Sort</a></li>
<li><a class="dropdown-item" href="./Algorithm/CombSort.html">Comb Sort</a></li>
<li><a class="dropdown-item" href="./Algorithm/Mergesort.html">Merge Sort</a></li>
<li><a class="dropdown-item" href="./Algorithm/Heapsort.html">Heap Sort</a></li>
<li><a class="dropdown-item" href="./Algorithm/Quicksort.html">Quick Sort</a></li>
<li><a class="dropdown-item" href="/counting.html">Counting Sort</a></li>
<li><a class="dropdown-item" href="./Algorithm/Radixsort.html">Radix Sort</a></li>
</ul>
</li>
<li class="nav-item">
<a class="nav-link" style="font-weight: 500;" href="#features-section" id="features-link">Features</a>
</li>
<li class="nav-item">
<a class="nav-link" style="font-weight: 500;" href="#About-Us" id="about-link">About Us</a>
</li>
<li class="nav-item">
<a class="nav-link px-3" style="font-weight: 500;" href="contact.html" id="contact-link">Contact</a>
</li>
<li class="nav-item">
<a class="nav-link log px-3" href="login.html" id="login-link">Login</a>
</li>
</ul>
</div>
</div>
</nav>
<section id="home-section" class="hero-section flex flex-col justify-center items-center px-4 sm:px-6 lg:px-8">
<div class="floating-shape shape-1"></div>
<div class="floating-shape shape-2"></div>
<div class="floating-shape shape-3"></div>
<div class="floating-shape shape-4"></div>
<div class="container mx-auto flex flex-col md:flex-row items-center justify-between">
<div class="md:w-1/2 mb-10 md:mb-0 z-10">
<h1 class="text-4xl sm:text-5xl lg:text-6xl font-bold text-gray-900 mb-6 animate-fade-in-up">
The <span style="color: #c84fd1;">#1</span> Sorting
<span class="whitespace-nowrap">Visualization Tool</span>
</h1>
<p class="text-lg sm:text-xl text-gray-700 mb-8 animate-fade-in-up delay-100">
Interactive visualization tool for various sorting algorithms. Understand efficiency and learn sorting techniques with ease.
</p>
<div class="flex flex-wrap gap-4 animate-fade-in-up delay-200">
<a href="visual.html" class=" text-white px-6 py-3 rounded-full font-semibold hover:bg-purple-600 transition duration-300" style="background-color: #c84fd1;">
Get Started
</a>
<a href="#programs-section" class="bg-gray-200 text-gray-800 px-6 py-3 rounded-full font-semibold hover:bg-gray-300 transition duration-300">
Explore
</a>
</div>
</div>
<div class="md:w-1/2 image-container animate-fade-in-up delay-300">
<div class="image-wrapper">
<div class="image-inner">
<img src="./images/home.png" alt="Sorting Visualization" class="main-image">
<div class="ripple-effect"></div>
</div>
</div>
</div>
</div>
<div class="scroll-arrow">
<i class="fas fa-chevron-down"></i>
</div>
</section>
<div class="site-section algorithm-title algorithm-section" id="algorithm-section">
<div class="container">
<div class="row mb-5 justify-content-center">
<div class="col-lg-7 text-center" data-aos="fade-up" data-aos-delay="">
</div>
</div>
</div>
</div>
<div class="site-section courses-entry-wrap" data-aos="fade-up" data-aos-delay="100">
<div class="swiper mySwiper container">
<h2 class="section-title text-center mt-5 pt-5">Sorting Visualizers</h2>
<p class="text-center">Following are the visual representations for sorting algorithms showing how they work and their functionalities.</p>
<div class="row">
<div class="owl-carousel col-12 nonloop-block-14">
<div class="course bg-white h-100 align-self-stretch">
<figure class="m-0">
<a href="visual.html"><img src="images/bubble.png" alt="Image" class="img-fluid"></a>
</figure>
<div class="course-inner-text py-4 px-4">
<h3><a href="visual.html">Bubble Sort</a></h3>
<p>Bubble sort algorithm is the simplest sorting algorithm that runs through the list repeatedly,
compares adjacent elements, and swaps them if they are out of order. </p>
</div>
</div>
<div class="course bg-white h-100 align-self-stretch">
<figure class="m-0 custom-figure">
<a href="visual.html">
<img src="images/radix-sort.webp" alt="Image" class="img-fluid">
</a>
</figure>
<div class="course-inner-text py-4 px-4">
<h3><a href="visual.html">Radix Sort</a></h3>
<p>Radix Sort is a non-comparative sorting algorithm that sorts numbers by processing individual digits. Radix Sort can handle large numbers of elements efficiently when the number of digits</p>
</div>
</div>
<div class="course bg-white h-100 align-self-stretch">
<figure class="m-0">
<a href="visual.html"><img src="images/merge.png" alt="Image" class="img-fluid"></a>
</figure>
<div class="course-inner-text py-4 px-4">
<h3><a href="visual.html">Merge Sort</a></h3>
<p>It is similar to the quick sort algorithm as it uses the divide and conquer approach for sorting. It is one of the most popular and efficient sorting algorithm.</p>
</div>
</div>
<div class="course bg-white h-100 align-self-stretch">
<figure class="m-0">
<a href="visual.html"><img src="images/comb.jpg" alt="Image" class="img-fluid"></a>
</figure>
<div class="course-inner-text py-4 px-4">
<h3><a href="visual.html">Comb Sort</a></h3>
<p>Comb sort improves on bubble sort by eliminating turtles, or small values near the end of the list, since it uses a larger gap. This results in a faster and more efficient sorting process.</p>
</div>
</div>
<div class="course bg-white h-100 align-self-stretch">
<figure class="m-0">
<a href="visual.html"><img src="images/selection1.png" alt="Image" class="img-fluid"></a>
</figure>
<div class="course-inner-text py-4 px-4">
<h3><a href="visual.html">Selection Sort</a></h3>
<p>Selection sort is a sorting algorithm that selects the smallest element from an unsorted list in each iteration and places that
element at the beginning of the unsorted list.</p>
</div>
</div>
<div class="course bg-white h-100 align-self-stretch">
<figure class="m-0">
<a href="visual.html"><img src="images/insertion.jpg" alt="Image" class="img-fluid"></a>
</figure>
<div class="course-inner-text py-4 px-4">
<h3><a href="visual.html">Insertion Sort</a></h3>
<p>Insertion sort is a sorting algorithm that places an unsorted element at its suitable place in each iteration.
Insertion sort works similarly as we sort cards in our hand in a cards. </p>
</div>
</div>
<div class="course bg-white h-100 align-self-stretch">
<figure class="m-0">
<a href="visual.html"><img src="images/quick1.png" alt="Image" class="img-fluid"></a>
</figure>
<div class="course-inner-text py-4 px-4">
<h3><a href="visual.html">Quick Sort</a></h3>
<p>Quick sort is an efficient , comparison-based sorting that uses a divide-and-conquer approach by partitioning elements around a pivot.</p>
</div>
</div>
<div class="course bg-white h-100 align-self-stretch">
<figure class="m-0">
<a href="visual.html"><img src="images/Heap-Sort.png" alt="Image" class="img-fluid"></a>
</figure>
<div class="course-inner-text py-4 px-4">
<h3><a href="visual.html">Heap Sort</a></h3>
<p>Heap sort is a comparison-based sorting algorithm that builds a max heap from the input data and repeatedly extracts the maximum element to sort the array.
</div>
</div>
<div class="course bg-white h-100 align-self-stretch">
<figure class="m-0">
<a href="Compare.html"><img src="images/compare.png" alt="Image" class="img-fluid"></a>
</figure>
<div class="course-inner-text py-4 px-4">
<h3><a href="Compare.html">Compare Algorithms</a></h3>
<p>Comparing sorting methods involves evaluating their efficiency and suitability for different data sizes.
</div>
</div>
</div>
</div>
</div>
<div class="swiper-button-next customNextBtn btn m-1"></div>
<div class="swiper-button-prev customPrevBtn btn m-1"></div>
<div class="swiper-pagination"></div>
<!--div class="row justify-content-center">
<div class="col-7 text-center">
<button class="customPrevBtn btn btn-primary m-1">Prev</button>
<button class="customNextBtn btn btn-primary m-1">Next</button>
</div>
</div-->
</div>
</div>
<section class="site-section" id="programs-section">
<div class="container">
<div class="row mb-5 justify-content-center">
<div class="col-lg-7 text-center" data-aos="fade-up" data-aos-delay="">
<h2 class="section-title">Algorithms</h2>
<p>An algorithm is a procedure used for solving a problem or performing a computation.
Algorithms act as an exact list of instructions that conduct specified actions step by step in either
hardware- or software-based routines. </p>
</div>
</div>
<div class="row mb-5 align-items-center">
<div class="col-lg-7 mb-5 order-1 order-lg-2" data-aos="fade-up" data-aos-delay="100" id="Comb-Sort" >
<img src="images/bubble2.gif" alt="Image" class="img-fluid">
</div>
<div class="col-lg-4 mr-auto order-2 order-lg-1" data-aos="fade-up" data-aos-delay="200" >
<h2 class="text-black mb-4">Comb Sort</h2>
<p class="mb-4">MergeSort(A, p, r): <br>
if p > r <br>
return <br>
q = (p+r)/2 <br>
mergeSort(A, p, q) <br>
mergeSort(A, q+1, r) <br>
merge(A, p, q, r)</p>
</div>
</div>
<div class="row mb-5 align-items-center mt-16">
<div class="col-lg-7 mb-5" data-aos="fade-up" data-aos-delay="100" id="Bubble-Sort">
<img src="images/merge2.gif" alt="Image" class="img-fluid">
</div>
<div class="col-lg-4 ml-auto" data-aos="fade-up" data-aos-delay="200">
<h2 class="text-black mb-4">Bubble Sort</h2>
<p class="mb-4">begin BubbleSort(arr) <br>
for all array elements <br>
if arr[i] > arr[i+1] <br>
swap(arr[i], arr[i+1]) <br>
end if <br>
end for <br>
return arr <br>
end BubbleSort </p>
</div>
</div>
<div class="row mb-5 align-items-center">
<div class="col-lg-7 mb-5 order-1 order-lg-2" data-aos="fade-up" data-aos-delay="100" id="Merge-Sort">
<img src="images/bubble2.gif" alt="Image" class="img-fluid">
</div>
<div class="col-lg-4 mr-auto order-2 order-lg-1" data-aos="fade-up" data-aos-delay="200">
<h2 class="text-black mb-4">Merge Sort</h2>
<p class="mb-4">MergeSort(A, p, r): <br>
if p > r <br>
return <br>
q = (p+r)/2 <br>
mergeSort(A, p, q) <br>
mergeSort(A, q+1, r) <br>
merge(A, p, q, r)</p>
</div>
</div>
<div class="row mb-5 align-items-center">
<div class="col-lg-7 mb-5" data-aos="fade-up" data-aos-delay="100" id="Insertion-Sort">
<img src="images/insertion2.gif" alt="Image" class="img-fluid">
</div>
<div class="col-lg-4 ml-auto" data-aos="fade-up" data-aos-delay="200">
<h2 class="text-black mb-4">Insertion Sort </h2>
<p class="mb-4">insertionSort(array) <br>
mark first element as sorted <br>
for each unsorted element X <br>
'extract' the element X <br>
for j <- lastSortedIndex down to 0 <br>
if current element j > X <br>
move sorted element to the right by 1 <br>
break loop and insert X here <br>
end insertionSort <br>
</p>
</div>
</div>
<div class="row mb-5 align-items-center">
<div class="col-lg-7 mb-5 order-1 order-lg-2" data-aos="fade-up" data-aos-delay="100" id="Selection-Sort">
<img src="images/selection2.gif" alt="Image" class="img-fluid">
</div>
<div class="col-lg-4 mr-auto order-2 order-lg-1" data-aos="fade-up" data-aos-delay="200">
<h2 class="text-black mb-4">Selection Sort</h2>
<p class="mb-4">selectionSort(array, size) <br>
repeat (size - 1) times <br>
set the first unsorted element as the <br> minimum <br>
for each of the unsorted elements <br>
if element < currentMinimum <br>
set element as new minimum <br>
swap minimum with first unsorted <br> position <br>
end selectionSort </p>
</div>
</div>
<div class="row mb-5 align-items-center">
<div class="col-lg-7 mb-5" data-aos="fade-up" data-aos-delay="100" id="Heapsort(A)">
<img src="images/heap-sort.gif" alt="Image" class="img-fluid">
</div>
<div class="col-lg-4 ml-auto" data-aos="fade-up" data-aos-delay="200">
<h2 class="text-black mb-4">Heap Sort </h2>
<p class="mb-4">Heapsort(A) <br>
BUILD-MAX-HEAP(A) <br>
for i = A.length downto 2 <br>
exchange A[1] with A[i] <br>
A.heap-size = A.heap-size - 1 <br>
MAX-HEAPIFY(A, 1) <br>
</p>
</div>
</div>
<div class="row mb-5 align-items-center">
<div class="col-lg-7 mb-5 order-1 order-lg-2" data-aos="fade-up" data-aos-delay="100" id="QUICKSORT">
<img src="images/quick2.gif" alt="Image" class="img-fluid">
</div>
<div class="col-lg-4 mr-auto order-2 order-lg-1" data-aos="fade-up" data-aos-delay="200">
<h2 class="text-black mb-4">Quick Sort</h2>
<p class="mb-4">QUICKSORT (array A, start, end)<br>
if (start < end) <br>
p = partition(A, start, end) <br> minimum <br>
QUICKSORT (A, start, p - 1) <br>
QUICKSORT (A, p + 1, end) <br>
</div>
</div>
<div class="row mb-5 align-items-center">
<div class="col-lg-7 mb-5" data-aos="fade-up" data-aos-delay="100" id="Heapsort(A)">
<img src="images/radixxx.gif" alt="Image" class="img-fluid">
</div>
<div class="col-lg-4 ml-auto" data-aos="fade-up" data-aos-delay="200">
<h2 class="text-black mb-4">Radix Sort </h2>
<p class="mb-4">RADIXSORT (array A, d)<br>
for i = 1 to d <br>
A = COUNTINGSORT(A, i) <br>
</p>
</div>
</div>
<section class="mb-10 mt-40 bg-white" id="features-section">
<div class="py-12" data-aos="fade-up" data-aos-delay="200">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="lg:text-center">
<h1
class="text-3xl md:text-4xl lg:text-5xl xl:text-6xl mb-30 font-bold text-center mb-30 md:mb-12 text-black">
Features</h1>
</div>
<div class="mt-32">
<dl class="space-y-10 md:space-y-0 md:grid md:grid-cols-2 md:gap-x-8 md:gap-y-10">
<div
class="relative opacity-80 hover:opacity-100 hover:cursor-pointer hover:scale-105">
<dt>
<div
class="absolute flex items-center justify-center h-12 w-12 rounded-md bg-primary-500 text-white transform transition duration-500 hover:scale-110">
<img src="./images/think-svgrepo-com.svg">
</div>
<p class="font-heading ml-16 text-lg leading-6 font-bold text-blue-700">
Interactive visualizations</p>
</dt>
<dd class="mt-2 ml-16 text-base text-black">Visual Sort provides interactive visualizations that let you see sorting algorithms in action. Watch how the elements move and get sorted step-by-step.
</dd>
</div>
<div
class="relative opacity-80 hover:opacity-100 hover:cursor-pointer hover:scale-105">
<dt class="text-white">
<div
class="absolute flex items-center justify-center h-12 w-12 rounded-md bg-primary-500 text-white transform transition duration-500 hover:scale-110">
<!-- <svg viewBox="0 0 24.00 24.00" xmlns="http://www.w3.org/2000/svg"
fill="#C048FC" stroke="#C048FC"
stroke-width="0.00024000000000000003">
<g id="SVGRepo_bgCarrier" stroke-width="0"></g>
<g id="SVGRepo_tracerCarrier" stroke-linecap="round"
stroke-linejoin="round" stroke="#CCCCCC" stroke-width="1.44">
</g>
<g id="SVGRepo_iconCarrier">
<title>webpack</title>
<rect width="24" height="24" fill="none"></rect>
<path
d="M21,16.5a1,1,0,0,1-.53.88l-7.9,4.44a1,1,0,0,1-1.14,0l-7.9-4.44A1,1,0,0,1,3,16.5v-9a1,1,0,0,1,.53-.88l7.9-4.44a1,1,0,0,1,1.14,0l7.9,4.44A1,1,0,0,1,21,7.5v9M12,4.15,5,8.09v7.82l7,3.94,7-3.94V8.09L12,4.15m0,2.08,4.9,2.83L12,11.89,7.1,9.06,12,6.23m5,8.66L13,17.2V13.62l4-2.31v3.58M11,17.2,7,14.89V11.31l4,2.31Z">
</path>
</g>
</svg> -->
<img src="./images/multiple-sorting-algo.svg">
</div>
<p class="font-heading ml-16 text-lg leading-6 font-bold text-gray-900">
Multiple Sorting Algorithms</p>
</dt>
<dd class="mt-2 ml-16 text-base text-black">Our tool supports multiple sorting algorithms, including Bubble Sort, Quick Sort, Merge Sort, and more. Switch between algorithms to see how each one performs.
</dd>
</div>
<div
class="relative opacity-80 hover:opacity-100 hover:cursor-pointer hover:scale-105">
<dt>
<div
class="absolute flex items-center justify-center h-12 w-12 rounded-md bg-primary-500 text-white transform transition duration-500 hover:scale-110">
<img src="./images/custom-input.svg">
</div>
<p class="font-heading ml-16 text-lg leading-6 font-bold text-blue-700">
Custom Input Data</p>
</dt>
<dd class="mt-2 ml-16 text-base text-black">Input your own data sets to see how different algorithms sort them. This feature helps you understand the performance and behavior of sorting algorithms on various data sets.</dd>
</div>
<div
class="relative opacity-80 hover:opacity-100 hover:cursor-pointer hover:scale-105">
<dt>
<div
class="absolute flex items-center justify-center h-12 w-12 rounded-md bg-primary-500 text-white transform transition duration-500 hover:scale-110">
<img src="./images/speed-svgrepo-com.svg">
</div>
<p class="font-heading ml-16 text-lg leading-6 font-bold text-blue-700">
Animation Speed Control</p>
</dt>
<dd class="mt-2 ml-16 text-base text-black">Adjust the speed of the sorting animations to your liking. Slow down the process to see each step clearly or speed it up to quickly get results.</dd>
</div>
</dl>
<dl class="space-y-10 md:space-y-0 md:grid md:grid-cols-2 md:gap-x-8 md:gap-y-10" style="margin-top: 2.5rem;">
<div
class="relative opacity-80 hover:opacity-100 hover:cursor-pointer hover:scale-105">
<dt>
<div
class="absolute flex items-center justify-center h-12 w-12 rounded-md bg-primary-500 text-white transform transition duration-500 hover:scale-110">
<img src="./images/stairs-svgrepo-com.svg">
</div>
<p class="font-heading ml-16 text-lg leading-6 font-bold text-blue-700">
Step-by-Step Execution</p>
</dt>
<dd class="mt-2 ml-16 text-base text-black">Execute sorting algorithms one step at a time to closely examine each operation. This feature is great for learning and teaching purposes.
</dd>
</div>
<div
class="relative opacity-80 hover:opacity-100 hover:cursor-pointer hover:scale-105">
<dt class="text-white">
<div
class="absolute flex items-center justify-center h-12 w-12 rounded-md bg-primary-500 text-white transform transition duration-500 hover:scale-110">
<img src="./images/performance.svg">
</div>
<p class="font-heading ml-16 text-lg leading-6 font-bold text-gray-900">
Performance Metrics</p>
</dt>
<dd class="mt-2 ml-16 text-base text-black">See detailed performance metrics for each sorting algorithm, including execution time and the number of operations performed. Compare the efficiency of different algorithms.</dd>
</div>
<div
class="relative opacity-80 hover:opacity-100 hover:cursor-pointer hover:scale-105">
<dt>
<div
class="absolute flex items-center justify-center h-12 w-12 rounded-md bg-primary-500 text-white transform transition duration-500 hover:scale-110">
<img src="./images/comparison.svg">
</div>
<p class="font-heading ml-16 text-lg leading-6 font-bold text-blue-700">
Comparison Mode</p>
</dt>
<dd class="mt-2 ml-16 text-base text-black">Compare two sorting algorithms side-by-side. See how each algorithm handles the same data set and compare their performance visually.</dd>
</div>
<div
class="relative opacity-80 hover:opacity-100 hover:cursor-pointer hover:scale-105">
<dt>
<div
class="absolute flex items-center justify-center h-12 w-12 rounded-md bg-primary-500 text-white transform transition duration-500 hover:scale-110">
<img src="./images/responsive.svg">
</div>
<p class="font-heading ml-16 text-lg leading-6 font-bold text-blue-700">
Responsive Design</p>
</dt>
<dd class="mt-2 ml-16 text-base text-black">Our tool is designed to work seamlessly on any device, whether it's a desktop, tablet, or mobile phone. Enjoy a consistent and accessible user experience everywhere.</dd>
</div>
</dl>
</div>
</div>
</div>
</section>
<div>
<main>
<section class="main" id="About-Us" >
<div class="card" data-aos="fade-up" data-aos-delay="200">
<h1> ABOUT US</h1>
<img class="img" src="images/coding.gif" alt="">
<p class="text-base md:text-lg lg:text-2xl text-gray-400 text-center"><b>Visual Sort</b> offers an engaging platform to learn sorting algorithms through interactive visualizations. It covers popular algorithms like <b>Bubble Sort, Merge Sort,</b> and more, making complex concepts easy to understand. Ideal for students and educators, it combines education and user-friendly design to enhance learning experiences.</p>
</div>
</section>
</div>
<section class="mb-10 mt-40 bg-white" >
<div class="py-12">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="lg:text-center">
<h1
class="text-3xl md:text-4xl lg:text-5xl xl:text-6xl mb-30 font-bold text-center mb-30 md:mb-12 text-purple-400">
WHY CHOOSE US?</h1>
<p
class="font-heading mt-10 text-center text-xl leading-8 font-semibold mb-20 tracking-tight text-gray-900 sm:text-4xl">
Visual-Sort has the best team of developers from around the world</p>
</div>
<div class="mt-32">
<dl class="space-y-10 md:space-y-0 md:grid md:grid-cols-2 md:gap-x-8 md:gap-y-10">
<div
class="relative opacity-80 hover:opacity-100 hover:cursor-pointer hover:scale-105">
<dt>
<div
class="absolute flex items-center justify-center h-12 w-12 rounded-md bg-primary-500 text-white transform transition duration-500 hover:scale-110">
<svg viewBox="-2.4 -2.4 28.80 28.80" xmlns="http://www.w3.org/2000/svg"
fill="#C084FC" stroke="#C084FC"
stroke-width="0.00024000000000000003">
<g id="SVGRepo_bgCarrier" stroke-width="0"></g>
<g id="SVGRepo_tracerCarrier" stroke-linecap="round"
stroke-linejoin="round" stroke="#CCCCCC" stroke-width="0.048">
</g>
<g id="SVGRepo_iconCarrier">
<path
d="M21.3,19a2.42,2.42,0,0,1-2.5.56l-2.35,2.35a.34.34,0,0,1-.49,0l-1-1a.36.36,0,0,1,0-.49l2.36-2.35a2.39,2.39,0,0,1,3.39-2.91L19.12,16.8l1,1,1.62-1.62A2.39,2.39,0,0,1,21.3,19ZM22,8v5.76A4.47,4.47,0,0,0,19.5,13a4.57,4.57,0,0,0-1.29.19V9.29H16.66V14A4.5,4.5,0,0,0,15,17.5a4.07,4.07,0,0,0,0,.5H4a2,2,0,0,1-2-2V8A2,2,0,0,1,4,6H20A2,2,0,0,1,22,8ZM11,15,9.09,9.27H7L5.17,15h1.7l.29-1.07H9L9.29,15Zm4.77-3.89a1.67,1.67,0,0,0-.55-1.35,2.43,2.43,0,0,0-1.62-.47h-2V15h1.54V13.11h.44a2.75,2.75,0,0,0,1-.17,1.82,1.82,0,0,0,.67-.44,1.63,1.63,0,0,0,.36-.64A2.36,2.36,0,0,0,15.75,11.11Zm-7.3.62-.12-.44-.15-.58c0-.21-.08-.37-.11-.5a4.63,4.63,0,0,1-.1.48c0,.19-.08.38-.13.57s-.08.34-.12.47l-.24.93H8.69Zm5.59-1a.63.63,0,0,0-.5-.17h-.4v1.31h.31a.9.9,0,0,0,.37-.07.59.59,0,0,0,.27-.22.75.75,0,0,0,.11-.42A.57.57,0,0,0,14,10.71Z">
</path>
<rect width="24" height="24" fill="none"></rect>
</g>
</svg>
</div>
<p class="font-heading ml-16 text-lg leading-6 font-bold text-blue-700">
Educational Resource</p>
</dt>
<dd class="mt-2 ml-16 text-base text-black">The website explains the steps and logic behind each algorithm, making it a great educational tool.
</dd>
</div>
<div
class="relative opacity-80 hover:opacity-100 hover:cursor-pointer hover:scale-105">
<dt class="text-white">
<div
class="absolute flex items-center justify-center h-12 w-12 rounded-md bg-primary-500 text-white transform transition duration-500 hover:scale-110">
<svg viewBox="0 0 24.00 24.00" xmlns="http://www.w3.org/2000/svg"
fill="#C048FC" stroke="#C048FC"
stroke-width="0.00024000000000000003">
<g id="SVGRepo_bgCarrier" stroke-width="0"></g>
<g id="SVGRepo_tracerCarrier" stroke-linecap="round"
stroke-linejoin="round" stroke="#CCCCCC" stroke-width="1.44">
</g>
<g id="SVGRepo_iconCarrier">
<title>webpack</title>
<rect width="24" height="24" fill="none"></rect>
<path
d="M21,16.5a1,1,0,0,1-.53.88l-7.9,4.44a1,1,0,0,1-1.14,0l-7.9-4.44A1,1,0,0,1,3,16.5v-9a1,1,0,0,1,.53-.88l7.9-4.44a1,1,0,0,1,1.14,0l7.9,4.44A1,1,0,0,1,21,7.5v9M12,4.15,5,8.09v7.82l7,3.94,7-3.94V8.09L12,4.15m0,2.08,4.9,2.83L12,11.89,7.1,9.06,12,6.23m5,8.66L13,17.2V13.62l4-2.31v3.58M11,17.2,7,14.89V11.31l4,2.31Z">
</path>
</g>
</svg>
</div>
<p class="font-heading ml-16 text-lg leading-6 font-bold text-gray-900">
User-Friendly Interface</p>
</dt>
<dd class="mt-2 ml-16 text-base text-black">The site is easy to navigate and visually appealing..</dd>
</div>
<div
class="relative opacity-80 hover:opacity-100 hover:cursor-pointer hover:scale-105">
<dt>
<div
class="absolute flex items-center justify-center h-12 w-12 rounded-md bg-primary-500 text-white transform transition duration-500 hover:scale-110">
<svg viewBox="0 0 28 28" version="1.1"
xmlns="http://www.w3.org/2000/svg" fill="" stroke="">
<g id="SVGRepo_bgCarrier" stroke-width="0"></g>
<g id="SVGRepo_tracerCarrier" stroke-linecap="round"
stroke-linejoin="round"></g>
<g id="SVGRepo_iconCarrier">
<title>dashboard [#671]</title>
<desc>Created with Sketch.</desc>
<defs> </defs>
<g id="Page-1" stroke="none" stroke-width="1" fill="none"
fill-rule="evenodd">
<g id="Dribbble-Light-Preview"
transform="translate(-340.000000, -5199.000000)"
fill="#C084FC">
<g id="icons"
transform="translate(56.000000, 160.000000)">
<path
d="M294,5041 C298.411,5041 302,5044.589 302,5049 L295.406,5049 L299.197,5045.378 L297.815,5043.932 L292.511,5049 L286,5049 C286,5044.589 289.589,5041 294,5041 M294,5039 C288.477,5039 284,5043.477 284,5049 C284,5054.523 288.477,5059 294,5059 C299.523,5059 304,5054.523 304,5049 C304,5043.477 299.523,5039 294,5039"
id="dashboard-[#671]"> </path>
</g>
</g>
</g>
</g>
</svg>
</div>
<p class="font-heading ml-16 text-lg leading-6 font-bold text-blue-700">
Interactive Learning</p>
</dt>
<dd class="mt-2 ml-16 text-base text-black">Visual Sort provides an interactive way to understand various sorting algorithms through visualization.</dd>
</div>
<div
class="relative opacity-80 hover:opacity-100 hover:cursor-pointer hover:scale-105">
<dt>
<div
class="absolute flex items-center justify-center h-12 w-12 rounded-md bg-primary-500 text-white transform transition duration-500 hover:scale-110">
<svg fill="#C084FC" version="1.1" id="Capa_1"
xmlns="http://www.w3.org/2000/svg" viewBox="0 0 481.044 481.045"
stroke="#C084FC">
<g id="SVGRepo_bgCarrier" stroke-width="0"></g>
<g id="SVGRepo_tracerCarrier" stroke-linecap="round"
stroke-linejoin="round"></g>
<g id="SVGRepo_iconCarrier">
<g>
<g>
<path
d="M434.874,241.031l35.406-36.292c4.402-4.513,6.224-10.947,4.838-17.097c-1.387-6.15-5.791-11.182-11.705-13.37 l-47.545-17.595l16.162-48.054c2.012-5.976,0.859-12.563-3.055-17.504c-3.918-4.94-10.07-7.572-16.344-6.971l-50.479,4.766 l-6.27-50.309c-0.779-6.257-4.672-11.694-10.345-14.448c-5.672-2.753-12.354-2.45-17.75,0.806L283.97,51.391L256.092,8.477 C252.657,3.19,246.782,0,240.478,0s-12.182,3.19-15.617,8.478l-27.615,42.517l-43.324-26.333 c-5.385-3.275-12.064-3.603-17.748-0.868c-5.68,2.735-9.592,8.158-10.393,14.412l-6.449,50.288l-50.457-4.942 c-6.273-0.619-12.434,1.988-16.367,6.915c-3.933,4.927-5.107,11.51-3.117,17.492l15.994,48.109l-47.609,17.429 c-5.92,2.167-10.342,7.184-11.748,13.329c-1.408,6.146,0.391,12.586,4.775,17.114l35.279,36.414l-35.341,36.351 c-4.393,4.521-6.203,10.958-4.807,17.104c1.398,6.148,5.811,11.172,11.727,13.35l47.58,17.512l-16.084,48.082 c-2,5.979-0.84,12.564,3.086,17.498c3.926,4.936,10.082,7.549,16.355,6.943l50.465-4.854l6.363,50.301 c0.791,6.254,4.691,11.684,10.369,14.428c5.676,2.746,12.355,2.43,17.748-0.836l43.369-26.258l27.545,42.566 c3.426,5.293,9.297,8.494,15.602,8.504c0.01,0,0.021,0,0.031,0c6.293,0,12.162-3.178,15.599-8.449l27.69-42.469l43.281,26.41 c5.382,3.285,12.06,3.623,17.744,0.898c5.687-2.727,9.607-8.143,10.42-14.395l6.535-50.277l50.451,5.029 c6.281,0.625,12.438-1.967,16.381-6.887c3.939-4.92,5.125-11.5,3.146-17.486l-15.912-48.135l47.639-17.348 c5.926-2.156,10.354-7.166,11.773-13.309c1.418-6.143-0.369-12.586-4.748-17.122L434.874,241.031z M148.068,208.509 c0,2.109-1.711,3.82-3.82,3.82h-35.759v15.893h33.16c2.11,0,3.82,1.71,3.82,3.82v18.948c0,2.111-1.71,3.82-3.82,3.82h-33.16 v37.594c0,2.109-1.71,3.82-3.82,3.82H81.289c-2.11,0-3.82-1.711-3.82-3.82V189.407c0-2.11,1.71-3.82,3.82-3.82h62.96 c2.109,0,3.82,1.71,3.82,3.82V208.509z M242.854,294.414c-0.695,1.126-1.926,1.812-3.25,1.812h-23.839 c-1.363,0-2.623-0.728-3.307-1.906c-1.15-1.985-3.188-6.739-7.591-25.012c-0.008-0.031-0.015-0.062-0.021-0.095 c-2.573-12.007-6.098-13.374-12.982-13.483h-3.148v36.676c0,2.109-1.71,3.82-3.82,3.82h-23.074c-2.11,0-3.82-1.711-3.82-3.82 V190.783c0-1.873,1.355-3.469,3.204-3.771c8.521-1.392,20.052-2.189,31.637-2.189c16.884,0,27.89,2.752,35.686,8.924 c7.151,5.721,10.923,14.204,10.923,24.543c0,11.857-6.651,20.885-14.586,25.935c5.791,4.977,8.453,12.424,10.019,18.137 c0.883,3.195,1.767,6.533,2.622,9.762c2.09,7.887,4.249,16.042,5.517,18.574C243.614,291.88,243.549,293.287,242.854,294.414z M321.972,292.404c0,2.111-1.71,3.82-3.821,3.82h-65.709c-2.111,0-3.821-1.709-3.821-3.82V189.407c0-2.11,1.71-3.82,3.821-3.82 h63.57c2.109,0,3.819,1.71,3.819,3.82v19.102c0,2.109-1.71,3.82-3.819,3.82h-36.369v13.753h34.077 c2.109,0,3.818,1.711,3.818,3.821v18.949c0,2.11-1.709,3.82-3.818,3.82h-34.077v16.811h38.508c2.111,0,3.821,1.709,3.821,3.819 V292.404L321.972,292.404z M403.576,292.404c0,2.111-1.71,3.82-3.819,3.82h-65.71c-2.11,0-3.82-1.709-3.82-3.82V189.407 c0-2.11,1.71-3.82,3.82-3.82h63.569c2.11,0,3.82,1.71,3.82,3.82v19.102c0,2.109-1.71,3.82-3.82,3.82h-36.369v13.753h34.076 c2.111,0,3.821,1.711,3.821,3.821v18.949c0,2.11-1.71,3.82-3.821,3.82h-34.076v16.811h38.51c2.109,0,3.819,1.709,3.819,3.819 V292.404L403.576,292.404z">
</path>
<path
d="M195.413,209.732c-2.501,0-4.74,0.095-6.695,0.281v21.265h5.349c4.411,0,14.67-1.072,14.67-11.002 C208.735,217.717,208.734,209.933,195.413,209.732z">
</path>
</g>
</g>
</g>
</svg>
</div>
<p class="font-heading ml-16 text-lg leading-6 font-bold text-blue-700">
Analytics and Insights</p>
</dt>
<dd class="mt-2 ml-16 text-base text-black">It offers free access to its resources, making learning accessible to everyone.</dd>
</div>
</dl>
</div>
</div>
</div>
</section>
<div class="px-4 py-16 mx-auto sm:max-w-xl md:max-w-full lg:max-w-screen-xl md:px-24 lg:px-8 lg:py-20">
</div>
</div>
</main>
</div>
<section class="review" id="review">
<div class="container">
<h1 class="heading">Student Reviews</h1>
<div class="swiper review-slider" data-aos="zoom-in">
<div class="swiper-wrapper">
<div class="swiper-slide slide">
<img src="img/pic-1.png" alt="Noah Lee">
<h3>Noah Lee</h3>
<p>I recently used Visual Sort for my classes and was thoroughly impressed. The website was intuitive and easy to navigate. Highly recommended!</p>
<div class="stars">
<i class="fas fa-star" ></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star-half-alt"></i>
</div>
</div>
<div class="swiper-slide slide">
<img src="img/pic-2.png" alt="Sophia Rossi">
<h3>Sophia Rossi</h3>
<p>Visual Sort is awesome! It's super intuitive and made learning algorithms fun. I spent hours playing around with different sorting methods. Definitely worth checking out.</p>
<div class="stars">
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
</div>
</div>
<div class="swiper-slide slide">
<img src="img/pic-3.png" alt="Olivia Davis">
<h3>Olivia Davis</h3>
<p>Visual Sort is a lifesaver for understanding sorting algorithms! The visualizations are so clear and interactive. I finally get how Bubble Sort and Merge Sort actually work.</p>
<div class="stars">
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star-full-alt"></i>
</div>
</div>
<div class="swiper-slide slide">
<img src="img/pic-4.png" alt="Emma Brown">
<h3>Emma Brown</h3>
<p >Great tool for my algorithms class! The step-by-step animations helped me ace my exam on sorting algorithms. Highly recommend it for anyone struggling to grasp these concepts.</p>
<div class="stars">
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
</div>
</div>
</div>
<div class="swiper-pagination"></div>
</div>
</div>
</section>
<section class="faq" id="faq">
<div class="container_1">
<div class="accordion__wrapper">
<h1 class="accordian__title">Frequently Asked Question</h1>
<br>
<!-- Accordion 1 -->
<div class="accordion">
<div class="accordion__header">
<h2 class="accordion__question">What is Visual Sort?</h2>
<span class="accordion__icon">
<i id="accordion-icon" class="ri-add-line"></i>
</span>
</div>
<div class="accordion__content">
<p class="accordion__answer">Visual Sort is a website designed to visually demonstrate how different sorting algorithms work. It provides an interactive and educational experience for users to understand the steps and logic behind various sorting methods.</p>
</div>
</div>
<!-- Accordion 2 -->
<div class="accordion">
<div class="accordion__header">
<h2 class="accordion__question">Which sorting algorithms are demonstrated on Visual Sort?</h2>
<span class="accordion__icon">
<i id="accordion-icon" class="ri-add-line"></i>
</span>
</div>
<div class="accordion__content">
<p class="accordion__answer">Visual Sort covers a range of popular sorting algorithms including Bubble Sort, Selection Sort, Insertion Sort, Merge Sort, Quick Sort, and Heap Sort. Each algorithm is visually represented to help users grasp their unique processes and efficiencies.</p>
</div>
</div>
<!-- Accordion 3 -->
<div class="accordion">
<div class="accordion__header">
<h2 class="accordion__question">How can Visual Sort help me learn sorting algorithms?</h2>
<span class="accordion__icon">
<i id="accordion-icon" class="ri-add-line"></i>
</span>
</div>
<div class="accordion__content">
<p class="accordion__answer">Visual Sort provides step-by-step visualizations of sorting algorithms in action. By watching how the algorithms operate, users can better understand the underlying logic and principles. The visual approach makes it easier to compare different algorithms and see their strengths and weaknesses.</p>
</div>
</div>
<!-- Accordion 4 -->
<div class="accordion">
<div class="accordion__header">
<h2 class="accordion__question">Is Visual Sort suitable for beginners?</h2>
<span class="accordion__icon">
<i id="accordion-icon" class="ri-add-line"></i>
</span>
</div>
<div class="accordion__content">
<p class="accordion__answer">Absolutely! Visual Sort is designed to be user-friendly and accessible to learners of all levels. Whether you are a beginner trying to understand the basics of sorting algorithms or an advanced user looking to study their complexities, Visual Sort provides a comprehensive and engaging learning platform.</p>
</div>
</div>
<!-- Accordion 5 -->
<div class="accordion">
<div class="accordion__header">
<h2 class="accordion__question">Do I need any prior knowledge to use Visual Sort?</h2>
<span class="accordion__icon">
<i id="accordion-icon" class="ri-add-line"></i>
</span>
</div>