All language subtitles for 06 - Measuring Performance - Big Omega.en

af Afrikaans
ak Akan
sq Albanian
am Amharic
ar Arabic Download
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: 0 00:00:01,500 --> 00:00:10,500 We have seen Big Theta as the notation for actual complexity, and Big O for worst-case complexity. 1 00:00:10,500 --> 00:00:18,500 Similarly, as these two, Big Omega is a notation for the best-case complexity, so consider this graph. 2 00:00:18,500 --> 00:00:26,068 This could be a graph of the logarithm, and consider the area above the curve. 3 00:00:26,068 --> 00:00:35,067 Then we have a lower bound for another function, if that function stays above our curve from a certain point, 4 00:00:35,067 --> 00:00:43,067 just like in this example. By the way, the lower bound here in this example is not tight, so even though it 5 00:00:43,067 --> 00:00:49,067 is correct formally, it may actually not say anything useful about the function. 6 00:00:49,067 --> 00:00:57,500 Let's skip quickly to the formal definition. Dimmed out here on the slide is the definition of Big O. 7 00:00:57,500 --> 00:01:02,067 I modified it slightly so you can see how similar Big Omega is to Big O. 8 00:01:02,067 --> 00:01:12,067 The first part is the same. We need a function f, and another function g to be used as lower bound. 9 00:01:12,067 --> 00:01:20,067 The constant part is almost the same, but the function should be larger than g, but smaller than g. 10 00:01:20,067 --> 00:01:31,067 The small n constant is the same, and again, instead of having f being smaller than g, it should be larger. 11 00:01:31,067 --> 00:01:40,067 If this is true, then f is not Big O of g of N, but Big Omega of g of N. 12 00:01:40,067 --> 00:01:46,067 So the best case of the two versions of the search algorithm we have seen was if it found the needle in the 13 00:01:46,067 --> 00:01:53,067 first element of the haystack. And here we only need to perform some constant number of instructions that 14 00:01:53,067 --> 00:02:02,067 gives a best case complexity of Big Omega of 1. In comparison, the loop that iterated through all values of 15 00:02:02,067 --> 00:02:13,068 N, and which had a worst-case complexity of Big O of N, also had a best-case complexity of Big Omega of N, 16 00:02:13,068 --> 00:02:18,068 because it can never finish before having looked through all N values. 17 00:02:18,068 --> 00:02:28,068 And the pair generation example with the worst-case complexity of Big O of N squared had a best-case 18 00:02:28,068 --> 00:02:35,068 complexity of Big Omega of N squared, because its termination could never happen before having looked through 19 00:02:35,068 --> 00:02:40,000 all N times N values. 2539

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