All language subtitles for 26. Extra Recursion 3 - Print Seq. of LowerCase Chars + Seq. of UpperCase Chars - S

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:01,350 --> 00:00:07,470 OK, so now let's take a look at the solution and try to figure out what happens here. 2 00:00:08,310 --> 00:00:10,680 And basically, why does it happen this way? 3 00:00:11,370 --> 00:00:13,980 So we know if we want to print a sequence? 4 00:00:15,390 --> 00:00:20,870 Some size of, I don't know, integers or characters or a double value, so it doesn't really matter. 5 00:00:21,620 --> 00:00:25,820 So we are going to use the print operation right? 6 00:00:25,850 --> 00:00:28,760 We are going to print the values to the screen. 7 00:00:29,300 --> 00:00:33,230 Then we are probably going to make some recursive function call. 8 00:00:34,070 --> 00:00:34,580 All right. 9 00:00:35,300 --> 00:00:42,290 Once we do the recursive function call, then basically every time we will reduce the sequence by one 10 00:00:42,290 --> 00:00:50,510 and still keep on printing out right after we are done printing the sequence, the first part of the 11 00:00:50,510 --> 00:00:54,890 sequence, then we move on to printing out the second part of the sequence. 12 00:00:55,190 --> 00:01:01,130 Once we are going back from our recursion, we print the next part of the sequence. 13 00:01:01,490 --> 00:01:05,390 So we, for example, first of all, we print out in this case, let's say B-BBEE. 14 00:01:05,810 --> 00:01:13,670 Then once we are done with the recursive calls, then on our way back where we stopped in the calling 15 00:01:13,700 --> 00:01:16,160 to the function itself, we print the. 16 00:01:17,740 --> 00:01:26,200 And the only difference here, when we use a sequence of, let's say, two times more multiplied by 17 00:01:26,200 --> 00:01:33,760 the startle right, so for example, first of all, we wanted to see we in previous exercise. 18 00:01:33,760 --> 00:01:36,700 I think we solved something like this just with integers. 19 00:01:36,880 --> 00:01:39,670 So BDD, there was no problem. 20 00:01:39,670 --> 00:01:44,770 We simply used the printing operation, then the recursive function called then the printing operation 21 00:01:44,770 --> 00:01:45,160 again. 22 00:01:46,150 --> 00:01:52,330 But now, since we know that the sequence should be two times more, then the answer is very, very 23 00:01:52,330 --> 00:01:53,950 clean and very, very elegant. 24 00:01:54,310 --> 00:01:57,370 We simply use this one, this one, this one. 25 00:01:57,760 --> 00:02:05,440 We simply use two times printing out this second character, so we print out through the screen. 26 00:02:05,710 --> 00:02:13,030 The second character a two times for every time we go back in the recursion, as opposed to printing 27 00:02:13,030 --> 00:02:17,440 just once before we make the recursion function call. 28 00:02:18,130 --> 00:02:19,450 OK, so that's the difference. 29 00:02:19,660 --> 00:02:26,140 If you will run this program right now, you will see that it works exactly as you expect it to. 30 00:02:26,740 --> 00:02:27,190 OK. 31 00:02:27,430 --> 00:02:33,640 And I think that here is nothing so complicated in this solution, so you can try it on your own. 32 00:02:34,000 --> 00:02:40,120 You can run this program and make sure that everything works exactly as you expect. 33 00:02:40,780 --> 00:02:41,230 OK. 34 00:02:41,590 --> 00:02:43,330 So thank you guys for watching. 35 00:02:43,390 --> 00:02:47,410 Keep on practicing, and I'll see you in the next videos. 36 00:02:47,770 --> 00:02:48,750 Bye bye, bye. 37 00:02:48,760 --> 00:02:49,170 Bye Bye. 3651

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