Bubble Sort

preview_player
Показать описание
This video shows how bubble sort works.
Рекомендации по теме
Комментарии
Автор

He's the hero we need, not the one we deserve

henrylie
Автор

Hello Sir, you have explained this more clearly and simply than anyone else. Thank you.

nitusf
Автор

i am in an entire course of computer science and this 3 minute video explained better than all the textbooks in the library. thank you youtube and thank you especially, KC Ang. Appreciate you, sir!

ericsizemore
Автор

Couldn't think of a simpler way to explain Bubble sort. The green marker helped a lot.

ravs
Автор

Clearest explanation I've seen on this algorithm. Nice work.

nanogamer
Автор

I like the way you demonstrated bubble sort that was very helpful & thank you for the video

HarshalPalke
Автор

If you give this gentleman a few cups, he can save our world...

gokayay
Автор

I will never forget how bubble sort works again! Thank you!

royanaskhat
Автор

Very Helpful, This is the code for the video, to test it out open a new tab, rightclick and click inspect, then expand that portion, and at the top click sources, then add snippet and this is your js environment play ground but here is the code:



var array =[3, 2, 1]

var b = 10

var c = 1 //the third variable which is placeholder

while(c==1){
c=0
for(var i=0 ; i < a.length ; i++){
if (a[i + 1] < a[i]){
c=1
b=a[i]
a[i]= a[i + 1]
a[i + 1]=b }
}
console.log(a)
}





now paste in the snippet and run the code and check the console to play around and see output

fariarana
Автор

You are being used in college classes to teach this method. Best explanation I have ever seen. thank you

tublue
Автор

Explained in a simple and clear way. Great job!!

esselstan
Автор

What an amazing guy! Couldn't have done this better!

_tnk_
Автор

concise and clear explanation, great job!

aloha
Автор

It's awesome.Eventually I know why the program of bubble sort need to the outer loop . Thank you.

rhbxesj
Автор

Beautifully explained, thanks for this, greetings from Colombia.

rubendariofrancodiaz
Автор

Sir, you are absolute gigachad, Thank you it's very helpfull

Aurelloyell
Автор

very nice video you deserve 1 moiilion subscription
very best of luck
essy and practical approach

viralshortsvideosss
Автор

You goated on the swapping cuz, keep it up!

fergez
Автор

This was so simple and helpful. Thank you!

bmcdermott
Автор

I like your videos and I request to do all sorting animated videos to clear our practical viws

superfact