All language subtitles for 13. Continue (Upgrade) Rotate Left a given array by N positions - Question

af Afrikaans
ak Akan
sq Albanian
am Amharic
ar Arabic
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 Download
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:00,720 --> 00:00:02,100 All right. 2 00:00:02,400 --> 00:00:08,790 Welcome back, ladies and gentlemen, and we proceed and we improve from our previous exercise. 3 00:00:09,270 --> 00:00:16,140 And we've talked about how we can write a program that should rotate left eye given away by just one 4 00:00:16,140 --> 00:00:16,740 position. 5 00:00:17,610 --> 00:00:23,010 Any of these exercise what you are required to do since you already know, or at least you should be 6 00:00:23,010 --> 00:00:27,360 familiar with the topic you discussed right here in the previous solution. 7 00:00:28,380 --> 00:00:36,660 Now you need to write a program that should rotate left a given away by not by one position, which 8 00:00:36,660 --> 00:00:41,610 we know how to do it, but rather by any positions. 9 00:00:42,030 --> 00:00:43,830 OK, so and positions. 10 00:00:44,190 --> 00:00:48,540 That's the difference between this exercise and the previous one. 11 00:00:49,440 --> 00:00:53,100 So in the previous one, let's do it like with the same calories. 12 00:00:53,140 --> 00:00:55,860 OK, so it's and positions. 13 00:00:57,450 --> 00:00:59,790 In the previous exercise, that was just one. 14 00:01:00,060 --> 00:01:08,340 But now we will read from the user, OK, or say, I can also define some and on my own or really from 15 00:01:08,340 --> 00:01:08,820 the user. 16 00:01:09,090 --> 00:01:12,450 Whatever you prefer for now, it's it doesn't matter. 17 00:01:12,450 --> 00:01:14,670 You can create also additional variable. 18 00:01:15,120 --> 00:01:23,130 I'm going to go with some example like defining and define and to be equal to, let's say, two or three. 19 00:01:24,330 --> 00:01:26,400 So if and it will be equal to two. 20 00:01:27,410 --> 00:01:30,530 So our task would be to take these five. 21 00:01:31,450 --> 00:01:38,950 And to put it right here, OK, so better safe, I'm going to show you the final result. 22 00:01:38,950 --> 00:01:43,930 It should be like we rotated all of them twice two positions to the left. 23 00:01:44,410 --> 00:01:49,660 So five went and then four went and then seven went two positions. 24 00:01:50,080 --> 00:01:51,520 So seven will be here. 25 00:01:51,790 --> 00:01:54,430 Three went also two positions. 26 00:01:54,610 --> 00:01:55,630 It should be here. 27 00:01:56,770 --> 00:02:03,700 Or went also two positions, one and two for us should be here in five went. 28 00:02:03,730 --> 00:02:07,480 Also two positions and now it's going to be like one and two. 29 00:02:08,380 --> 00:02:10,600 OK, so that's the before. 30 00:02:11,260 --> 00:02:13,030 That's how it looks like before. 31 00:02:13,450 --> 00:02:16,030 And that's how it looks like afterwards. 32 00:02:17,200 --> 00:02:23,710 So the question is, how can we make it kind of general because an can be specified with a different 33 00:02:23,710 --> 00:02:28,660 value as well as it can be received from the user is a different value. 34 00:02:28,690 --> 00:02:29,050 Right? 35 00:02:29,230 --> 00:02:31,360 Using some input function. 36 00:02:32,980 --> 00:02:38,890 So if and was three, so we had to rotate everything by three and so on and so forth. 37 00:02:40,300 --> 00:02:48,880 So your task, OK, is basically to let's go this way, take advantage of everything that you've developed 38 00:02:48,880 --> 00:02:51,220 so far in their previous exercise. 39 00:02:52,030 --> 00:03:00,550 OK, so in the previous exercise, we knew how we can rotate to the left a given away by one position. 40 00:03:01,330 --> 00:03:08,470 Now we need to kind of upgrade this program to support the rotate left by end positions. 41 00:03:10,070 --> 00:03:14,930 So think about it, tried to run these programs, try to create something on your own. 42 00:03:15,290 --> 00:03:15,560 Okay. 43 00:03:15,590 --> 00:03:16,310 Don't give up. 44 00:03:16,550 --> 00:03:21,960 It's very important because that's the actual process of learning. 45 00:03:22,000 --> 00:03:30,680 OK, not only are watching me solving these exercises one after the other, I know it's kind of nice. 46 00:03:31,640 --> 00:03:37,160 But it's really important that you will try also solving on your own. 47 00:03:37,950 --> 00:03:38,450 Okay, yes. 48 00:03:38,660 --> 00:03:43,880 So good luck and I will see you in the solutions video to compare our results. 49 00:03:44,720 --> 00:03:45,170 Goodbye. 4601

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