@codechorus: Selection sort is a simple sorting algorithm that repeatedly selects the smallest element from an unsorted list and places it at the beginning of the sorted list. It has a time complexity of O(n^2) and is not efficient for large data sets, but it is easy to understand and implement. Save, share and follow @codechorus for more dev animations. SOURCE: World of Ivo #java #datastructure #learncoding #learntocode #dsa #bubblesort #datastructuresalgorithms #datastructuresandalgorithms #datastructuresalgorithm #datastructurelove
In this method, the list is devided 2 sublists - one sorted and unsorted, there is a wall between both them. in video, the wall set between index -1 and 0. the left part isn't still sort but after it will become sorted sublist, the right part is unsorted sublist. we find smallest number in the right part and swap it to the number of the left part, at the same time, the wall must move to the right of this number. Steps is repeated to the last number on the right. Then we have a total sorted list.
2025-10-19 12:34:18
0
🦨 :
Or just use the sort command
2023-05-14 09:22:12
9
14gl :
Nested for
2023-05-13 20:16:13
138
kona :
i have no idea whats going on🔥🔥🔥🔥🔥🔥🔥🔥
2023-05-15 00:56:46
114
Shiba :
my exam for tomorrow
2023-05-14 13:40:43
47
codewizardpro :
Dijkstra ?
2023-05-13 07:49:33
10
Bully :
Why do i always have problem implementing the algorithm into a code? Like i already figured the way but i get confused even before i type anything?
2023-05-14 02:32:43
2
JustMine174 :
bro i have exam about this for tommorow. what a coincident 😂😂
2023-05-14 06:35:37
76
AI Motivation Source :
Priority Queue ?
2023-05-16 11:57:54
47
Adolfo Gutierrez47 :
Song?
2023-05-14 01:51:09
2
☆ Min ☆ :
yo thats my name!!!!
2023-05-14 04:08:11
4
Tema Mumtaza :
Bubble sort please
2023-05-13 09:34:36
98
Good Shibe :
I had sorting algorithms exam today bro 😭😭😭😭😭😭😭
2023-05-15 16:25:03
0
Dudhtee :
why didnt 5 and 3 swap?
2023-05-14 03:26:20
3
Demokraken :
A simple and inefficient, don’t by shy to share full info.
2023-05-14 20:47:29
1
HostVR2 :
Just store them and use the array.sort function🤓
2023-05-14 18:01:45
7
ミ-プ :
holly molly i learned this during my data struct and algorithm class but couldnt understand fully, thank you so much !!
2023-05-14 05:33:49
24
Nuovo.Dorian :
je suis content de l'avoir appris en codage en 1ere même si j'ai abandonné et ça me sert plus a rien 🤣
2023-05-15 22:06:53
9
moruielaunc :
Cho ai chưa biết, đây là thuật toán sắp xếp "chọn": Bao gồm 2 giá trị trong 1 dãy chữ số, giá trị thứ nhất chọn lần lượt từng số đã cho và so sánh....
2023-07-08 07:35:12
0
Xuân Quý :
ơ mà video này sai đúng ko, sao số đầu sắp xếp kỳ vậy
2023-05-14 09:24:46
0
Loiddass :
hey could you tell what switches does your keyboard have cuz they sound crystal clear. Super satisfying
2023-05-13 09:15:59
1
zakhanhs :
hình như lấy từng số so với nhau để sắp xếp thứ tự từ nhỏ đến lớn
2023-05-14 05:40:19
57
gâu rệt :
huhu nhớ lại lúc mới học hồi lớp 8 quần quật với này
2023-05-14 16:55:46
41
To see more videos from user @codechorus, please go to the Tikwm
homepage.