Python Tutorials - Bubble Sort Program

Published: 11 September 2018
on channel: Amulya's Academy
109,296
2.1k

In this Python programming video tutorial we will learn about bubble sort program in detail.

Bubble sort, sometimes referred to as sinking sort, is a simple sorting algorithm that repeatedly steps through the list to be sorted, compares each pair of adjacent items and swaps them if they are in the wrong order. The pass through the list is repeated until no swaps are needed which indicates that the list is sorted.

The algorithm which is a comparison sort is named for the way smaller or larger elements "bubble" to the top of the list. Although the algorithm is simple, it is too slow and impractical for most problems even when compared to insertion sort. Bubble sort can be practical if the input is in mostly sorted order with some out-of-order elements nearly in position.

Here we are writing the program using bubble sort algorithm.

Selection Sort Algorithm And Program:

   • Python Tutorials - Selection Sort Algorith...  
   • Python Tutorials - Selection Sort | Progra...  
   • Python Tutorials - Selection Sort | Progra...  
   • Python Tutorials - Selection Sort | Progra...  

Bubble Sort Algorithm:
   • Python Tutorials - Bubble Sort Algorithm |...  

#PythonProgramming #BubbleSort

For more free tutorials on computer programming
  / amulsacademy  
  / amulsacademy  


On this page of the site you can watch the video online Python Tutorials - Bubble Sort Program with a duration of hours minute second in good quality, which was uploaded by the user Amulya's Academy 11 September 2018, share the link with friends and acquaintances, this video has already been watched 109,296 times on youtube and it was liked by 2.1 thousand viewers. Enjoy your viewing!