Bubble Sort: Background & Python Code

10
54



In this video we’ll introduce the Bubble Sort algorithm, the most simple of all basic sorting algorithms. We’ll begin by covering the overall idea of the Bubble Sort, then move over to a coding editor and implement the ideas in Python code.

If you’d like to learn about Python data structures, check out my video series starting with:

Video series covering GUI development in Python:

References:

[1]
[2]
[3]

End song is “Broke For Free” by Night Owl, off the Directionless EP.

Nguồn:https://quydinh.com/

10 COMMENTS

  1. Hey @Brian Faure, the link to your github test (https://github.com/felipernb/algorithms.js/blob/master/test/algorithms/sorting/bubble_sort.js) doesn't work. I realise this video is quite old but it was really helpful. Thanks

  2. Don't you need to move your boundary down each while iteration? Else you are checking the ends that are already sorted.

  3. Pls, can you speak a lil bit slower? Your speech is really hard to understand for non-native English speakers(

  4. Took a little time to apply the printout in Python 3, hope you can switch to that in your upcoming videos.
    Really enjoying these otherwise!

LEAVE A REPLY

Please enter your comment!
Please enter your name here