All language subtitles for 5 - Radix Sort English

af Afrikaans
ak Akan
sq Albanian
am Amharic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bem Bemba
bn Bengali
bh Bihari
bs Bosnian
br Breton
bg Bulgarian
km Cambodian
ca Catalan
ceb Cebuano
chr Cherokee
ny Chichewa
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional)
co Corsican
hr Croatian
cs Czech
da Danish
nl Dutch
en English
eo Esperanto
et Estonian
ee Ewe
fo Faroese
tl Filipino
fi Finnish
fr French
fy Frisian
gaa Ga
gl Galician
ka Georgian
de German
el Greek
gn Guarani
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ia Interlingua
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
rw Kinyarwanda
rn Kirundi
kg Kongo
ko Korean
kri Krio (Sierra Leone)
ku Kurdish
ckb Kurdish (SoranĂ®)
ky Kyrgyz
lo Laothian
la Latin
lv Latvian
ln Lingala
lt Lithuanian
loz Lozi
lg Luganda
ach Luo
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mfe Mauritian Creole
mo Moldavian
mn Mongolian
my Myanmar (Burmese)
sr-ME Montenegrin
ne Nepali
pcm Nigerian Pidgin
nso Northern Sotho
no Norwegian
nn Norwegian (Nynorsk)
oc Occitan
or Oriya
om Oromo
ps Pashto
fa Persian
pl Polish
pt-BR Portuguese (Brazil)
pt Portuguese (Portugal)
pa Punjabi
qu Quechua
ro Romanian
rm Romansh
nyn Runyakitara
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
sh Serbo-Croatian
st Sesotho
tn Setswana
crs Seychellois Creole
sn Shona
sd Sindhi
si Sinhalese
sk Slovak
sl Slovenian
so Somali
es Spanish
es-419 Spanish (Latin American)
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
tt Tatar
te Telugu
th Thai
ti Tigrinya
to Tonga
lua Tshiluba
tum Tumbuka
tr Turkish
tk Turkmen
tw Twi
ug Uighur
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
wo Wolof
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu
Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated: 1 00:00:08,460 --> 00:00:11,160 ‫In this video we're going to go through a fun sorting algorithm. 2 00:00:11,190 --> 00:00:18,900 ‫Let's say it's pretty popular and very powerful among certain data sets and it's called the reader sort. 3 00:00:18,900 --> 00:00:24,900 ‫It has a worse time complexity of Big O K times. 4 00:00:24,930 --> 00:00:32,490 ‫And and you'll see in a little bit what that means it's a step further than say merge sort of quicksort 5 00:00:32,490 --> 00:00:42,040 ‫which are all big-O and long again and usually and it's much different than insertion sort or selection 6 00:00:42,040 --> 00:00:45,150 ‫sort of which are usually going to be and square. 7 00:00:45,330 --> 00:00:51,810 ‫And so the reason why radix is different is because it uses a lexicographic order which means that it 8 00:00:51,810 --> 00:01:01,170 ‫works extremely well with datasets such as strings or fixed length integer representation such as phone 9 00:01:01,170 --> 00:01:03,420 ‫numbers or Social Security numbers. 10 00:01:03,520 --> 00:01:05,230 ‫It's works very well for that. 11 00:01:05,570 --> 00:01:12,580 ‫And so what we're going to do is actually go through an exercise where you see how it works visually. 12 00:01:12,600 --> 00:01:19,820 ‫So we're going to start off with an array and it's going to be let's go with 3:59 13 00:01:21,800 --> 00:01:23,880 ‫three three. 14 00:01:23,950 --> 00:01:29,060 ‫As for Bandhan riding on this and I'm actually trying out a new tablet. 15 00:01:29,420 --> 00:01:37,840 ‫Five forty eight nine eleven four seventy nine. 16 00:01:37,940 --> 00:01:40,620 ‫And the last one is five. 17 00:01:40,790 --> 00:01:41,850 ‫Forty four. 18 00:01:42,030 --> 00:01:42,330 ‫OK. 19 00:01:42,350 --> 00:01:50,270 ‫So that's our right and first step one what we're going to do is actually go in and look at the first 20 00:01:50,390 --> 00:01:53,340 ‫digit of each one of the numbers. 21 00:01:53,360 --> 00:01:58,460 ‫And we're going to sort it from the lowest to the highest. 22 00:01:58,520 --> 00:02:02,290 ‫So step one right here. 23 00:02:02,540 --> 00:02:16,350 ‫We'll see that 9 111 is our first then we can see 383 is the second followed by 5:44 24 00:02:20,260 --> 00:02:24,590 ‫followed by 48 25 00:02:29,630 --> 00:02:37,750 ‫followed by 3:59 followed by four seventy nine cents. 26 00:02:37,880 --> 00:02:39,420 ‫Yes and that's our guidance. 27 00:02:39,590 --> 00:02:39,890 ‫Okay. 28 00:02:39,890 --> 00:02:49,280 ‫So now if you look down that first column you'll see that it is shorted the first column the digits 29 00:02:49,280 --> 00:02:49,920 ‫are sort. 30 00:02:49,940 --> 00:02:51,400 ‫So that's good. 31 00:02:51,410 --> 00:03:01,610 ‫Now we go step 2 and in step 2 what we do is we actually look at the second digit for each one and except 32 00:03:01,610 --> 00:03:04,470 ‫that we take it in this order. 33 00:03:04,490 --> 00:03:12,650 ‫So we take it in this exact order from step 1 and that is extremely important for us to read it sort 34 00:03:12,680 --> 00:03:13,160 ‫won't work. 35 00:03:13,190 --> 00:03:20,960 ‫So we're going to start off looking at the second digit and right away we can see 9 11 is first again 36 00:03:21,930 --> 00:03:27,400 ‫then we can see it looks like 5:44 is going to be next. 37 00:03:29,790 --> 00:03:35,590 ‫And then 5:48 right after that. 38 00:03:35,890 --> 00:03:39,480 ‫And then we have 3:59 39 00:03:44,660 --> 00:03:50,600 ‫479. 40 00:03:50,860 --> 00:03:56,480 ‫And finally three three. 41 00:03:57,090 --> 00:04:04,560 ‫And now for step three which is my favorite step and read it because it's pretty cool how it all comes 42 00:04:04,560 --> 00:04:05,430 ‫together. 43 00:04:05,460 --> 00:04:06,780 ‫We do the last step. 44 00:04:06,840 --> 00:04:13,530 ‫So the lowest in the last step is going to be 3:59 45 00:04:15,810 --> 00:04:17,450 ‫383 46 00:04:20,150 --> 00:04:21,850 ‫for 79 47 00:04:24,590 --> 00:04:31,700 ‫of 44. 48 00:04:31,890 --> 00:04:37,250 ‫Forty eight and then nine eleven. 49 00:04:37,380 --> 00:04:44,210 ‫And as you can see we have a fully sorted list right here. 50 00:04:44,370 --> 00:04:52,920 ‫And the really neat thing with this is you can see it actually separates out with hundreds. 51 00:04:53,160 --> 00:04:55,750 ‫So each one of them is sorted. 52 00:04:55,760 --> 00:05:01,800 ‫It's not like we just kind of skipped ahead step three where we at you know put 300 first. 53 00:05:01,830 --> 00:05:09,800 ‫This guarantees because we went through and iterated through the each one of the columns here. 54 00:05:09,960 --> 00:05:17,700 ‫So first we started out here then we went here and finally in the third one and what it does it ensures 55 00:05:17,700 --> 00:05:22,160 ‫that it gets sorted with each step. 56 00:05:22,290 --> 00:05:25,000 ‫So that's the sort. 57 00:05:25,020 --> 00:05:27,270 ‫It's very basic. 58 00:05:27,360 --> 00:05:34,990 ‫I will put a link where you can go see the actual code that can implement this I'll put some Peifer 59 00:05:35,370 --> 00:05:40,850 ‫Python code that shows how this runs with a actual program. 60 00:05:40,860 --> 00:05:44,090 ‫So let me know if you have any questions at all on rating's. 5589

Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.