Sorting Algorithms: Bubble Sort
Published in
3 min readFeb 10, 2023
Sorting Algorithms?
So, you’re probably wondering, “What exactly are sorting algorithms?”. Well, a sorting algorithm is simply used to rearrange a given array or some list of elements in an ascending or descending order. With the use of a comparison operator that decides the new order of the elements in the data structure.