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
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

Original subtitles

All right.

Welcome back, ladies and gentlemen, and we proceed and we improve from our previous exercise.

And we've talked about how we can write a program that should rotate left eye given away by just one

position.

Any of these exercise what you are required to do since you already know, or at least you should be

familiar with the topic you discussed right here in the previous solution.

Now you need to write a program that should rotate left a given away by not by one position, which

we know how to do it, but rather by any positions.

OK, so and positions.

That's the difference between this exercise and the previous one.

So in the previous one, let's do it like with the same calories.

OK, so it's and positions.

In the previous exercise, that was just one.

But now we will read from the user, OK, or say, I can also define some and on my own or really from

the user.

Whatever you prefer for now, it's it doesn't matter.

You can create also additional variable.

I'm going to go with some example like defining and define and to be equal to, let's say, two or three.

So if and it will be equal to two.

So our task would be to take these five.

And to put it right here, OK, so better safe, I'm going to show you the final result.

It should be like we rotated all of them twice two positions to the left.

So five went and then four went and then seven went two positions.

So seven will be here.

Three went also two positions.

It should be here.

Or went also two positions, one and two for us should be here in five went.

Also two positions and now it's going to be like one and two.

OK, so that's the before.

That's how it looks like before.

And that's how it looks like afterwards.

So the question is, how can we make it kind of general because an can be specified with a different

value as well as it can be received from the user is a different value.

Right?

Using some input function.

So if and was three, so we had to rotate everything by three and so on and so forth.

So your task, OK, is basically to let's go this way, take advantage of everything that you've developed

so far in their previous exercise.

OK, so in the previous exercise, we knew how we can rotate to the left a given away by one position.

Now we need to kind of upgrade this program to support the rotate left by end positions.

So think about it, tried to run these programs, try to create something on your own.

Okay.

Don't give up.

It's very important because that's the actual process of learning.

OK, not only are watching me solving these exercises one after the other, I know it's kind of nice.

But it's really important that you will try also solving on your own.

Okay, yes.

So good luck and I will see you in the solutions video to compare our results.

Goodbye.

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