All language subtitles for 15. Continue (Upgrade2) Rotate RIGHT 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:01,260 --> 00:00:04,420 So that's the final upgrade for this exercise. 2 00:00:04,440 --> 00:00:08,340 OK, that will make sure that you understood everything correctly. 3 00:00:08,880 --> 00:00:16,170 So now we will write a program that should rotate not to the left, but rather to their right. 4 00:00:17,230 --> 00:00:18,130 And given away. 5 00:00:19,240 --> 00:00:24,710 OK, so we will need to rotate right by one element, by an element. 6 00:00:24,730 --> 00:00:25,070 OK. 7 00:00:25,090 --> 00:00:31,270 First of all, implement the one element, then you will be able to implement the elements and you should 8 00:00:31,270 --> 00:00:33,010 rotate to the right. 9 00:00:33,580 --> 00:00:39,850 So write a program that should rotate, write a given array by M positions. 10 00:00:40,570 --> 00:00:46,820 So once you have the previous solution, maybe it's you can start writing from scratch. 11 00:00:46,840 --> 00:00:49,360 That's also a good idea to practice it even further. 12 00:00:49,750 --> 00:00:57,760 But if you are pretty sure about everything that you have created so you can leave it as is and simply 13 00:00:57,760 --> 00:01:03,700 modify the structure from this exercise to support the rotating right. 14 00:01:05,050 --> 00:01:10,090 So let me just explain to you guys what will happen when we rotate, right? 15 00:01:10,570 --> 00:01:11,110 OK. 16 00:01:11,230 --> 00:01:16,330 Basically, if we rotate one, rotate right by one. 17 00:01:16,660 --> 00:01:22,090 This is the expected results of three will go to here and all of them will move to the right. 18 00:01:22,540 --> 00:01:23,710 So final result. 19 00:01:24,100 --> 00:01:27,190 OK, should look like this five, four seven. 20 00:01:27,190 --> 00:01:28,750 And here we get three. 21 00:01:29,530 --> 00:01:33,850 That's the usage of rotate by one to the right. 22 00:01:36,710 --> 00:01:42,800 And you need to rotated by end, so think about what should be modified in this part of code. 23 00:01:43,100 --> 00:01:46,280 And once you're done, check out the solutions. 2166

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