Posts

Showing posts with the label Sorting Algorithms

What is Bubble Sort and How does it work?

Image
Introduction to Sorting Algorithms: Sorting Algorithms are procedures of reorganizing a large number of items into some specific order such as highest to lowest, or vice-versa, or even in some alphabetical order. The algorithms take an input list, processes it (i.e, performs some operations on it) & produce the sorted list. The most common example, we experience every day is sorting clothes or other items on an e-commerce website either by lowest-price to highest, or list by popularity, or some other order. Bubble Sort : This is one of the simplest Sorting Algorithm, & is  very much necessary to learn  as it represents the basic foundations of sorting, here we've tried to demystify this sorting algorithm . Learn More: Link