All language subtitles for 12. Linked Lists Challenge #2

af Afrikaans
ak Akan
sq Albanian
am Amharic
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
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

1 1

Alright, so for challenge number two, 2

2

I want you to work with a singly-linked list 3

3

that handles integers, so it stores integer objects. 4

4

So what I've done is, I quickly updated 5

5

the employee link list class that we implemented 6

6

so that it stores integers instead of employees. 7

7

I was gonna make you do it, but then I thought, 8

8

oh that's just trivial work, so I'll do that for you. 9

9

So there's a starter project in the resources section 10

10

that contains all the code that you'll need, 11

11

and what I want you to do is, I want you 12

12

to implement a method in the IntergerLinkedList class 13

13

that inserts a value in sorted order. 14

14

If you look at the class, I think 15

15

I called the method insertSorted, 16

16

and instead of calling the add to front method, 17

17

we'll keep calling insertSorted 18

18

and so the values are always inserted in sorted order. 19

19

And what I mean by sorted order is 20

20

that the lower values should appear first in the list, 21

21

so they should be closer to the head. 22

22

And so if we were to insert value four, 23

23

and then two, and then one, and then five, 24

24

the list would look like the following. 25

25

You'd have the node for one, and then the node for two, 26

26

and then four, and then five, 27

27

and five would be the last node in the list, 28

28

and its next field would point to null. 29

29

And so IntegerLinkedList is a singly-linked list, 30

30

and I want it to remain a singly-linked list, 31

31

this would be an easier challenge 32

32

if it was a doubly-linked list. 33

33

So, as I said, the project contains all the code you'll need 34

34

and the main method has the code that should work 35

35

when you're finished, so when you've finished implementing 36

36

the insertSorted method, you can then run the main method, 37

37

and the list that prints should have the nodes 38

38

in sorted order. 39

39

So, good luck with that, 40

40

and I'll see you in the solution video.

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