diff --git a/algorithms/CPlusPlus/Sorting/bubble-sort.cpp b/algorithms/CPlusPlus/Sorting/bubble-sort.cpp index e8cf0c59..bce16856 100644 --- a/algorithms/CPlusPlus/Sorting/bubble-sort.cpp +++ b/algorithms/CPlusPlus/Sorting/bubble-sort.cpp @@ -18,7 +18,7 @@ int main() { swap = false; for (int j= 0; j< n-1; j++) - { //comparing adjecent elements of array + { //comparing adjacent elements of array if (arr[j]>arr[j+1]) { // swapping array elements temp = arr[j];