Stable sorts | Comparison sorts | Sorting algorithms

Bubble sort

Bubble sort, sometimes referred to as sinking sort, is a simple sorting algorithm that repeatedly steps through the input list element by element, comparing the current element with the one after it, swapping their values if needed. These passes through the list are repeated until no swaps had to be performed during a pass, meaning that the list has become fully sorted. The algorithm, which is a comparison sort, is named for the way the larger elements "bubble" up to the top of the list. This simple algorithm performs poorly in real world use and is used primarily as an educational tool. More efficient algorithms such as quicksort, timsort, or merge sort are used by the sorting libraries built into popular programming languages such as Python and Java. (Wikipedia).

Bubble sort
Video thumbnail

Bubble Sort 1- Algorithm

This is the first of four videos about the bubble sort. This video describes the bubble sort algorithm, otherwise known as the ripple sort, or the sinking sort. The bubble sort is one of the simplest sorting algorithms and is therefore relatively easy to understand and implement. The bub

From playlist Sorting Algorithms

Video thumbnail

Bubble Sort 2- Pseudocode and Enhancements

This is the second of four videos about the bubble sort. The bubble sort, otherwise known as the ripple sort or the sinking sort is one of the simplest sorting algorithms and is therefore relatively easy to understand and implement. The bubble sort performs well for relatively small amou

From playlist Sorting Algorithms

Video thumbnail

Bubble Sort 3 – VB.NET Implementation

This is the third in a series of four videos about the bubble sort. This video shows step by step how to implement a simple bubble sort in Visual Basic.NET. The bubble sort code is developed into a sub procedure that accepts as a parameter an integer array of any size, it then sorts the

From playlist Sorting Algorithms

Video thumbnail

Bubble Sort Algorithm | What Is Bubble Sort & How Bubble Sort Works? | Data Structures | Simplilearn

This video is based on Bubble Sort Algorithm. In this Data structures tutorial, you will understand the fundamentals of sorting. This video is dedicated to helping beginners understand what is bubble sort algorithm & how bubble sort works in real-time. The video also includes a practical e

From playlist Data Structures & Algorithms [2022 Updated]

Video thumbnail

Insertion Sort vs Bubble Sort + Some analysis

A visual demonstration of insertion sort, competition with bubble sort, and performance analysis including these two and quick sort. See more notes and a more accurate analysis of the algorithms performance: https://www.udiprod.com/insertion-sort/ Previous matches: Heaps sort vs merge s

From playlist Animated Scientific Visualizations

Video thumbnail

Bubble Sort

This is CS50

From playlist CS50 Sections 2015

Video thumbnail

Sorting Values with Selection and Bubble sort

The next videos will be about sorting. In this video we will learn about two simple sorting algorithms. We will try to figure out, how they work, and how efficient they are. 00:00 Introduction 01:07 Selection sort: idea and implementation 02:12 Selection sort: running time 04:23 Bubble so

From playlist All About Algorithms

Video thumbnail

Winding for Wave Maps - Max Engelstein

Analysis Seminar Topic: Winding for Wave Maps Speaker: Max Engelstein Affiliation: University of Minnesota Date: June 1, 2020 For more video please visit http://video.ias.edu

From playlist Mathematics

Video thumbnail

Live Coding Tracking and Dynamic Experiments: Part 1

From a video of an experiment to segmented bubbles and shape analysis Notebook: https://www.kaggle.com/kmader/aluminum-preprocessing

From playlist Kagglers on YouTube | Kaggle

Video thumbnail

Live Coding Tracking and Dynamic Experiments: Part 2

From segmented points to paths Notebook: https://www.kaggle.com/kmader/tracking-bubbles

From playlist Kagglers on YouTube | Kaggle

Video thumbnail

Prescribing scalar curvature in high dimension - Andrea Malchiodi

Variational Methods in Geometry Seminar Topic: Prescribing scalar curvature in high dimension Speaker: Andrea Malchiodi Affiliation: SISSA Date: Oct 2, 2018 For more video please visit http://video.ias.edu

From playlist Variational Methods in Geometry

Video thumbnail

Four Types of Multiverse - Sixty Symbols

See all our multiverse videos: http://bit.ly/MultiverseVids Dr Tony Padilla here discusses Max Tegmark's four classes of Multiverse. Coin randomness (Numberphile): http://youtu.be/AYnJv68T3MM Ed playing with snow at CERN: http://youtu.be/MADzbn_EDdo Visit our website at http://www.sixtys

From playlist Multiverse - Sixty Symbols

Video thumbnail

9.5: Arrays of Flexible Size - Processing Tutorial

Book: Learning Processing A Beginner's Guide to Programming, Images, Animation, and Interaction Chapter: 9 Official book website: http://learningprocessing.com/ Twitter: https://twitter.com/shiffman This video discusses the inevitable quandary of what to do when you want to resize your

From playlist 9: Arrays - Processing Tutorial

Video thumbnail

Twitch Talks - Geographic Visualization

Presenter: Brett Champion Wolfram Research developers demonstrate the new features of Version 12 of the Wolfram Language that they were responsible for creating. Previously broadcast live on October 1, 2019 at twitch.tv/wolfram. For more information, visit: https://www.wolfram.com/languag

From playlist Twitch Talks

Video thumbnail

Bubble sort in 2 minutes

Step by step instructions showing how to run bubble sort. Code: https://github.com/msambol/youtube/blob/master/sort/bubble_sort.py (different than video, I added this retroactively) Source: https://en.wikipedia.org/wiki/Bubble_sort & http://www.algorithmist.com/index.php/Bubble_sort Lin

From playlist Sort Algos // Michael Sambol

Related pages

Big O notation | Adaptive sort | Inversion (discrete mathematics) | Odd–even sort | The Art of Computer Programming | Cocktail shaker sort | Sorting algorithm | Comparison sort | Integer | Pseudocode | Selection sort | Insertion sort | Timsort | Bogosort | Merge sort | Quicksort | Comb sort