Skip to content

Commit 460bbf9

Browse files
committed
feat:<Quick sort> quick sort
1 parent dd4c1fa commit 460bbf9

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/app/components/Algorithms/sorting/quick-sort/quick-sort.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<h1 class="text-center"> Quick Sort </h1>
22
<div class="mt-md-4 mt-3" [innerHtml]="quickSortMetaData.defination"></div>
3+
<div class="mt-md-4 mt-3" [innerHtml]="quickSortMetaData.workingProcedure"></div>
4+
<div class="mt-md-4 mt-3" [innerHtml]="quickSortMetaData.flowChart"></div>
35
<div class="mt-md-4 mt-3" [innerHtml]="quickSortMetaData.explainImage"></div>
46
<div class="mt-md-4 mt-3" [innerHtml]="quickSortMetaData.properties"></div>
5-
<div class="mt-md-4 mt-3" [innerHtml]="quickSortMetaData.flowChart"></div>
6-
<div class="mt-md-4 mt-3" [innerHtml]="quickSortMetaData.workingProcedure"></div>
77
<div class="mt-md-4 mt-3" [innerHtml]="quickSortMetaData.applications"></div>
88
<div class="mt-md-4 mt-3" [innerHtml]="quickSortMetaData.other"></div>
99
<div class="mt-md-4 mt-3" [innerHtml]="quickSortMetaData.advantage"></div>

src/app/core/algorithms/sorting-meta-data.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ const quickSortData = {
245245
The list is divided into two partitions such that "all elements to the left of pivot are smaller than the pivot
246246
and all elements to the right of pivot are greater than or equal to the pivot".
247247
`,
248-
flowChart:"assets/ds-image/comming-soon.jpg",
248+
flowChart:"assets/ds-image/quick-sort-flowchart.jpg",
249249
explainImage:"assets/ds-image/comming-soon.jpg",
250250
workingProcedure:[
251251
'quickSort(arr, left, right)',
162 KB
Loading

0 commit comments

Comments
 (0)