Afrikaans
Akan
Albanian
Amharic
Arabic
Armenian
Azerbaijani
Basque
Belarusian
Bemba
Bengali
Bihari
Bosnian
Breton
Bulgarian
Cambodian
Catalan
Cebuano
Cherokee
Chichewa
Chinese (Simplified)
Chinese (Traditional)
Corsican
Croatian
Czech
Danish
Dutch
English
Esperanto
Estonian
Ewe
Faroese
Filipino
Finnish
French
Frisian
Ga
Galician
Georgian
German
Greek
Guarani
Gujarati
Haitian Creole
Hausa
Hawaiian
Hebrew
Hindi
Hmong
Icelandic
Igbo
Indonesian
Interlingua
Irish
Italian
Japanese
Javanese
Kannada
Kazakh
Kinyarwanda
Kirundi
Kongo
Korean
Krio (Sierra Leone)
Kurdish
Kurdish (Soranรฎ)
Kyrgyz
Laothian
Latin
Latvian
Lingala
Lithuanian
Lozi
Luganda
Luo
Luxembourgish
Macedonian
Malagasy
Malay
Malayalam
Maltese
Maori
Marathi
Mauritian Creole
Moldavian
Mongolian
Myanmar (Burmese)
Montenegrin
Nepali
Nigerian Pidgin
Northern Sotho
Norwegian
Norwegian (Nynorsk)
Occitan
Oriya
Oromo
Pashto
Persian
Polish
Portuguese (Brazil)
Portuguese (Portugal)
Punjabi
Quechua
Romanian
Romansh
Runyakitara
Russian
Samoan
Scots Gaelic
Serbian
Serbo-Croatian
Sesotho
Setswana
Seychellois Creole
Shona
Sindhi
Sinhalese
Slovak
Slovenian
Somali
Spanish
Spanish (Latin American)
Sundanese
Swahili
Swedish
Tajik
Tamil
Tatar
Telugu
Thai
Tigrinya
Tonga
Tshiluba
Tumbuka
Turkish
Turkmen
Twi
Uighur
Ukrainian
Urdu
Uzbek
Vietnamese
Welsh
Wolof
Xhosa
Yiddish
Yoruba
Zulu
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.