Envié una solicitud electrónica. El proceso duró 3 semanas. Acudí a una entrevista en Mobileye en nov 2024
Entrevista
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.
Preguntas de entrevista [1]
Pregunta 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++;
}
}
}
}
Envié una solicitud electrónica. Acudí a una entrevista en Mobileye
Entrevista
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.
Preguntas de entrevista [1]
Pregunta 1
Implement a queue to send and receiving is possible while being thread safe.