All language subtitles for 23. Extra Recursion 2 - Print Sequence of char1s and then Sequencex2 of char2s - Q.

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,940 --> 00:00:03,040 Here we go again. 2 00:00:03,280 --> 00:00:13,000 And we do another exercise, so in this exercise, what you are required to do is to develop a recursive 3 00:00:13,000 --> 00:00:16,360 function that receives what it receives. 4 00:00:16,570 --> 00:00:19,240 It receives an integer total. 5 00:00:20,050 --> 00:00:22,090 It also receives two characters. 6 00:00:22,600 --> 00:00:24,910 Character one in character or two. 7 00:00:25,000 --> 00:00:30,700 So these function receives two characters and one integer and one the function should do. 8 00:00:31,510 --> 00:00:39,100 Each should print a sequence of total character once OK, the type of the value of the character one. 9 00:00:39,730 --> 00:00:47,290 And then after the function has printed a sequence of length total, which is also a parameter that 10 00:00:47,290 --> 00:00:48,400 this function receives. 11 00:00:48,970 --> 00:00:50,680 The function should print. 12 00:00:52,070 --> 00:00:58,850 As sequence multiplied by two, meaning two times the sequence that it printed off character one two 13 00:00:58,850 --> 00:01:02,270 times the sequence of character issues. 14 00:01:03,020 --> 00:01:06,800 OK, so it's clear I think the exact an example would be better here. 15 00:01:06,810 --> 00:01:10,100 So if, for example, you receive total equals to three. 16 00:01:11,570 --> 00:01:19,910 And also, you receive Cha one equals two lowercase a and cha cha two equals to lowercase C, then in 17 00:01:19,910 --> 00:01:26,360 this case, why do these functions should print is a sequence of three character once a sequence of 18 00:01:26,360 --> 00:01:32,330 three A's based on the type on the size of the total, and then the function should print a sequence 19 00:01:32,930 --> 00:01:39,260 multiplied by two, which is six right because two multiplied by the sequence of total three multiplied 20 00:01:39,260 --> 00:01:40,100 by two six. 21 00:01:40,130 --> 00:01:43,050 So six characters are still in this case. 22 00:01:43,070 --> 00:01:44,150 This will be C. 23 00:01:45,700 --> 00:01:52,960 Another option, another example will total equals two to cha, one equals to be charged to equal study. 24 00:01:53,290 --> 00:01:59,830 So the printed results should be two times B because total equals two, two and four times D because 25 00:01:59,830 --> 00:02:03,340 total equals to two, and we multiply this sequence by two. 26 00:02:04,410 --> 00:02:11,280 OK, so not a very complicated exercise, but requires some attention and requires your focus. 27 00:02:11,610 --> 00:02:14,980 So please guys, don't move on to the solutions VIDEO. 28 00:02:15,180 --> 00:02:17,670 Try to solve this on your own. 29 00:02:17,910 --> 00:02:19,170 Make the function calls. 30 00:02:19,650 --> 00:02:26,580 Make sure that it prints exactly what you expect and if not, make the necessary adjustments until you 31 00:02:26,580 --> 00:02:27,330 make it right. 32 00:02:27,570 --> 00:02:32,940 Or at least you spend enough time to make sure that, OK, I tried my best. 33 00:02:33,150 --> 00:02:34,140 I'm ready to move on. 34 00:02:34,830 --> 00:02:35,250 All right. 35 00:02:35,640 --> 00:02:37,050 So thank you so much for watching. 36 00:02:37,320 --> 00:02:39,690 Let's start working. 37 00:02:40,140 --> 00:02:40,560 All right. 3488

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