J'ai postulé en ligne. Le processus a pris 3 semaines. J'ai passé un entretien chez Mobileye en nov. 2024
Entretien
I got a paper containing code of a c function. The interviewers left the room for 5-10 minutes so I can study the code, then returned and asked questions about the code.
Questions d'entretien [1]
Question 1
1) What does the following code do?
2) What changes would you make to improve the code (not regarding performance)?
void func(int array[ARRAY_SIZE])
{
int p = 0;
for (int r = 0; r < 4; r++)
{
for (int i = p; i < ARRAY_SIZE; i++)
{
if (array[i] % 5 == r)
{
if (i != p)
{
int temp = array[p];
array[p] = array[i];
array[i] = temp;
}
p++;
}
}
}
}
J'ai postulé en ligne. J'ai passé un entretien chez Mobileye
Entretien
I have arrived 20 minutes perior to the scheduled time. Went to the office floor as instructed and all I found was an empty floor with keycard entry only. no option to talk with someone to let me in. the recruiter also was not available over the phone. So I found my self standing there, with no toilet access, for about 30 minutes (10 minutes into the interview time). I was then finally been able to reach the recruiter HR phone and she sent the interviewers to open the door for me. in the interview itself, they explained about the company in general, and regarding the job itself. afterwards, they wanted to hear my background and knowledge.
Questions d'entretien [1]
Question 1
Implement a queue to send and receiving is possible while being thread safe.