All language subtitles for 1. Interview Question - Swap WITHOUT 3rd Variable!

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
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

Welcome back, ladies and gentlemen, to your best SAE program in chorus.

So maybe some of you may want to test their skills with all the knowledge they've gained so far in this

course.

And I thought of a great way to do so by simply giving you some interview question.

That's going to be awesome.

But before we proceed, before we proceed with this video, what I want you to do is to take a moment

and leave me a review and feedback on this chorus.

It takes much less than a minute to do so.

And it means so much for me, really.

This way, when you leave a review and some feedback, I can really understand, if you like the chorus

and the content I've created or not.

And then I will simply be able to do my best to make your experience much better in the future.

So whether you're like the chorus or not.

Which is also fine.

Pause the video and please just let me know that by leaving a review and let me know what you like and

what you don't like.

So once you left your feedback, we are ready to give it a try with our first interview question.

And what this question is all about.

So during our chorus, we've discussed what is a swap operation and we've seen some illustration explaining

about this topic and also some C-code implementation to do so by using some temp variable.

Right.

You remember this task?

We had these two variables, A and B, we simply created another attempt variable and then we just took

the value from A, put it inside temp.

Then we took the value out of B and put it inside A.

And then lastly, we took the value of town, which is currently inside of the temp variable, and we've

put it inside variable B, so that's how we accomplish this swap between the two variables, A and B..

And basically them while this was great.

Your interviewer does not think so.

During interviewer for your dream jobs, let's say, does not like the fact that you have to use this

additional temp variable.

He goes and says something like, oh, wait, please.

That's that's just a wasted memory to create this additional variable.

And he says you can only pass this test, this interview, if you can't solve the swap operation without

using a third variable.

And I think that during an interview to get this question to see for the first time, it's not going

to be so easy.

So now this question, guys, from my experience and from with the experience of many of my colleagues,

is being asked a lot in software interviews.

So make sure you come prepared for this one.

And what I want you to do now is to take as much time as you need to think of the solution.

Even if it will take a couple of hours or even a few days to live it aside.

Come back to it later on and think about it.

I don't know.

But.

But it doesn't matter.

Your task is the thing when you don't have the solutions in front of you.

So think about it.

Think how you can solve it without using the third variable, meaning that the values of A variables

A and B will be swapped without using the term variable that we've learned so far.

But don't you even think about jumping straight to the full solution video?

That I will.

Of course I will share with you.

Give it a try.

First of all, on your own.

And then once you are done, we are going to see the full video.

So, as always, guys, I wish you good luck.

And I really hope that this exercise will help you in preparing for your interview questions.

So leave me a review.

Tell me if you like it or not.

And thank you for your time.

And I'll see you in the Solutions video by.

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