You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: DataAndAlgoL/Chpt10SortingAlgorithms/Chpt10Notes.org
+9-1Lines changed: 9 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -11,4 +11,12 @@
11
11
sort algorithms that use main memory exclusively during the sort called internal sorting. This alfgorithm assummes high speed random access to all memory
12
12
13
13
* External Sort:
14
-
sorting algorithms that use external memory, during the sort.
14
+
sorting algorithms that use external memory, during the sort.
15
+
16
+
** BUBBLE SORT
17
+
Simplest sorting algorithm.
18
+
*** Works by iterating the input array from the 1st element to the last, comparing each pair of elements and swapping them if needed.
19
+
Bubble sort continues its iterations until no more swaps are needed.
20
+
Has high complexity time and is too Simplest
21
+
** Only significant advantage of bubble sort is detecting whether input list is sorted or not
0 commit comments