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/
Xem thêm Bài Viết:
- Chia sẻ đầy đủ về cách hướng dẫn Ghost Win Xp bằng USB cơ bản từ A tới Z
- Hướng dẫn tạo file ghost win 10 thông qua 3 bước đơn giản mà bạn không nên bỏ qua
- Mách bạn 4 bước trong cách bung file tib theo chuẩn UEFI đơn giản nhất
- Mật bí 4 kiểu hyperlink trong excel bị lỗi phổ biến mà bạn hay gặp nhất
- Khái niệm ma alt là gì và cách sử dụng bảng mã ATL như thế nào?
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
Don't you need to move your boundary down each while iteration? Else you are checking the ends that are already sorted.
I cannot get b = bubble sort (a) to print. I am using Python 3.8. Any reason why the second function wouldn't work.
Pls, can you speak a lil bit slower? Your speech is really hard to understand for non-native English speakers(
This is one of the best video tutorial I have seen on bubble sort!
how to create those graphic for bubble sort … please Add the program in description
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!
Hi, what IDE you use? And what color preset?
Thank you thank you thank you. I love you thanks
Hey. You keep on referring to n^2 complexity as exponential time .. shouldn't it be quadratic/polynomial time?