How does Bubble Sort work?
Вставка
- Опубліковано 1 жов 2024
- Now what's this talk about bubbles on a programming video? We certainly aren't goofing around are we? Well, bubble sort is probably one of the first algorithms we learn, and also one of the slowest, but it introduces us to the wonderful world of sorting algorithms, where down the line we can further explore the complexity and speed of sorting.
Learn back-end development - www.boot.dev
Learn Algorithms - www.boot.dev/l...
please keep uploading your videos are of high quality, I hope you weren't a backend dev though because I'm not interested in it haha :)
Wat
It's kinda fast for a slow algorithm. Only O(n^2). Not THAT bad
For sorting that's real bad tho
Thank you for this. I have heard of this algo but never understood the process behind it. I have found in life that I am a visual learner so this was great.
please do you know other channels that explain visually like in this video?
Would have been even cooler if you also mentioned we eliminate the last element in each iteration
You don't need to do that