@yo07_666: Bubble Sort Bubble Sort is the simplest sorting algorithm that works by repeatedly swapping the adjacent elements if they are in the wrong order. This algorithm is not efficient for large data sets as its average and worst-case time complexity are quite high. Sorts the array using multiple passes. After the first pass, the maximum goes to end (its correct position). Same way, after second pass, the second largest goes to second last position and so on. In every pass, process only those that have already not moved to correct position. After k passes, the largest k must have been moved to the last k positions. In a pass, we consider remaining elements and compare all adjacent and swap if larger element is before a smaller element. If we keep doing this, we get the largest (among the remaining elements) at its correct position. #datastructures #programming #coding #algorithms

AI_YO07
AI_YO07
Open In TikTok:
Region: JO
Monday 23 February 2026 02:53:26 GMT
168594
4075
56
277

Music

Download

Comments

nomore0harmony
Паяльник с жк дисплеем :
What is the difference between algorithms in just a few nanoseconds?
2026-02-23 15:35:06
34
asszonyvero998
AsszonyomatVerem :
n^2❤️‍🩹❤️‍🩹❤️‍🩹❤️‍🩹
2026-02-25 10:10:17
12
osiris.zxc
vovan kalivan :
Java?
2026-02-23 09:28:46
15
tommy___999
Tommy₉⁹₉ :
best sort
2026-02-25 12:37:49
2
axellztheking
Axellz67 :
Just use sort() its n log n
2026-02-28 15:22:42
1
lucyyseccs
Lucyy :
this is selection not bubble
2026-02-25 15:37:30
2
missing_enfp
Star Boy :
share the swap function i NEED it. like oxygen 🙏
2026-03-13 21:07:18
1
ser_anegativa
Seras :
She’ll sort is a king
2026-02-26 11:35:17
1
thecubejsablover
⚛️ Stormy :3 [Pan] 🏳️‍🌈 :
is the under js?
2026-03-15 06:35:29
0
c4mper559
C4mper 🇨🇵 :
No win, no download
2026-02-27 13:40:41
0
ops_sigma1
୧⍤⃝💐opsik89ツ :
CSS?
2026-02-28 09:27:44
1
monjak76
Monjak :
я понял как работает
2026-02-23 19:31:02
1
lothian63
Lothian :
самый лёгкий, и самый медленный (вроде)
2026-02-26 16:39:28
1
ferta_._
13 :
Спасибо, что существуешь NeuralStarBot 💖
2026-02-23 13:44:40
2
cr1m_3s
Иисус Христос@ :
а что это вобще
2026-02-23 13:51:56
8
eli_malna
Kxxx :
@noe
2026-03-06 13:31:56
0
cruel_king014
☆ :
@🦇🚦🚥 crowdin🚥🚦🦇
2026-03-10 21:51:47
0
eshkere_burger
Эщкере :
У меня учитель по инфе тоже пузерьковым перебором занимается
2026-02-23 18:21:56
1
alvedo_222
alvedo_222 :
NarutoGiftBot лучший просто
2026-02-23 09:26:45
2
1_yfg_1
YFG :
а какой алгоритм для сортировки лучше?
2026-02-23 11:51:07
1
super__daniel
Daniel311271 :
very slow. n^2 vs nlog(n) for better
2026-02-25 13:44:26
1
To see more videos from user @yo07_666, please go to the Tikwm homepage.

Other Videos


About