Articles added in Mathematics Lab | Cyber Lab is now open | Astronomy Lab is now open | VLSI Lab is now open | 120 SEO Tips article published | More exciting articles coming soon!


Arranging the elements of an array in ascending and descending order is known as sorting.
There are different methods of sorting.

  1. Insertion sort
  2. Selection sort
  3. Bubble sort
  4. Merge sort
  5. Two way merge sort
  6. Heap sort
  7. Quick sort
The one which we are going to use here is known as bubble sort.

Bubble sorting is a simple sorting technique in sorting algorithm. In bubble sort, the elements of the list are arranged by forming pairs of adjacent elements. It means we repeatedly step through the list which we want to sort, compare two items at a time and swap them if they are not in the right order.

CACKLE comment system

Programming Resources
Computer Networking Fundamentals Android Application