All language subtitles for 11. A Program to Rotate Left a given array by 1 positions - Question

af Afrikaans
sq Albanian
am Amharic
ar Arabic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bn Bengali
bs Bosnian
bg Bulgarian
ca Catalan
ceb Cebuano
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
tl Filipino
fi Finnish
fr French
fy Frisian
gl Galician
ka Georgian
de German
el Greek
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian Download
is Icelandic
ig Igbo
id Indonesian
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
km Khmer
ko Korean
ku Kurdish (Kurmanji)
ky Kyrgyz
lo Lao
la Latin
lv Latvian
lt Lithuanian
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mn Mongolian
my Myanmar (Burmese)
ne Nepali
no Norwegian
ps Pashto
fa Persian
pl Polish
pt Portuguese
pa Punjabi
ro Romanian
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
st Sesotho
sn Shona
sd Sindhi
si Sinhala
sk Slovak
sl Slovenian
so Somali
es Spanish
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
te Telugu
th Thai
tr Turkish
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu
or Odia (Oriya)
rw Kinyarwanda
tk Turkmen
tt Tatar
ug Uyghur
Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated: 1 00:00:00,600 --> 00:00:02,350 Hello there, ladies and gentlemen. 2 00:00:02,370 --> 00:00:08,460 And in this video, what we are going to do is, first of all, to use our visual studio in this case, 3 00:00:08,460 --> 00:00:10,350 I think that's 2019. 4 00:00:10,890 --> 00:00:15,480 And that's maybe a different idea from whatever you're using. 5 00:00:15,480 --> 00:00:16,840 Or maybe that's the same. 6 00:00:16,890 --> 00:00:17,910 It doesn't really matter. 7 00:00:17,940 --> 00:00:24,180 Okay, since all of the code is going to be written just the same way, the same way it was written 8 00:00:24,180 --> 00:00:24,960 previously. 9 00:00:25,230 --> 00:00:25,650 OK. 10 00:00:26,130 --> 00:00:30,270 Any of these exercise, we are going to practice our knowledge. 11 00:00:30,420 --> 00:00:36,570 OK, so let's say our exercise is going to be as the following. 12 00:00:36,570 --> 00:00:44,730 So exercise ready to practice in what we have to do in this exercise is very simple, yet it's very, 13 00:00:44,730 --> 00:00:45,870 very interesting. 14 00:00:46,320 --> 00:00:49,050 What we need to do is to write a program. 15 00:00:49,230 --> 00:00:56,880 OK, so write a program, a program that all it will do. 16 00:00:56,880 --> 00:01:00,780 What these programs should do is write a program that should. 17 00:01:02,260 --> 00:01:03,370 Rotate. 18 00:01:03,610 --> 00:01:04,090 OK. 19 00:01:04,120 --> 00:01:06,250 That should rotate. 20 00:01:09,390 --> 00:01:23,820 Let's use left rotate left a given array, a given array by one, by one position. 21 00:01:25,300 --> 00:01:32,260 OK, so these exercises basically the preparation for more complicated exercises, but still it's very 22 00:01:32,260 --> 00:01:34,060 important to know how to solve it. 23 00:01:34,420 --> 00:01:38,890 So writing a program that should rotate left a given away by one position. 24 00:01:39,250 --> 00:01:41,680 So let's say you were given with this array. 25 00:01:42,970 --> 00:01:44,710 Let's take it like a small one. 26 00:01:44,950 --> 00:01:51,430 Let's go like five four and go with seven and three. 27 00:01:52,540 --> 00:01:55,250 So our task is to rotate left. 28 00:01:55,510 --> 00:01:59,950 OK, we want to rotate the array left, and that's going to look like this. 29 00:01:59,960 --> 00:02:07,570 OK, so we are going basically to take these value of five and put it right here and all of the other 30 00:02:07,570 --> 00:02:09,760 elements to take them to the left. 31 00:02:10,780 --> 00:02:13,570 So that means that after the operation. 32 00:02:13,630 --> 00:02:19,840 OK, so that's before that's did before, and that's the after. 33 00:02:22,370 --> 00:02:30,920 So after we will have four, seven, three and five, so that's what we've done in the rotation. 34 00:02:31,460 --> 00:02:33,860 So that's before, that's after. 35 00:02:34,130 --> 00:02:38,810 And you need to write a program, OK, that can initialize this array. 36 00:02:39,110 --> 00:02:44,240 Some arbitrary array with four elements just for simplicity doesn't really matter. 37 00:02:44,570 --> 00:02:49,700 And then all it should do is rotate to the left by one element. 38 00:02:50,720 --> 00:02:52,190 So take your time. 39 00:02:52,190 --> 00:02:58,930 Think about the algorithm, the solution that may solve this exercise, and once you're done comparing 40 00:02:58,940 --> 00:03:02,360 it with the results, and let's move on. 41 00:03:02,420 --> 00:03:03,980 OK, so get ready. 42 00:03:04,100 --> 00:03:04,970 Let's start. 43 00:03:06,440 --> 00:03:07,460 Yeah, we go. 44 00:03:08,840 --> 00:03:09,260 Good luck. 3802

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