I applied online on their website.
A recruiter sent me an email with a login for a C/C++ quiz. The quiz asked some questions about memory allocation and potential bugs in code. All of them were multiple choice and pretty easy.
Some questions, though, I wasn't sure how to answer. For example:
(This isn't an actual question, just an example)
Is it possible for the following function to go into an infinite loop given an array and its size in C:
c void foo(int* array, int array_size) { int index = 0; for (; index < array_size; index++) array[index] = 0; }
Well, for some, I'm not sure. The problem doesn't clarify whether or not the user can provide a negative array size for the variable array_size. Using the word "possible," I put "yes" for most of the questions that asked that, but I'm not sure that's what they wanted, since it wasn't clarified.
Apparently, I didn't score high enough on the quiz, even though I had thought I got them all right.
Is it possible for the following function to go into an infinite loop, given an array and its size in C?
c void foo( int* array, int array_size ) { int index = 0; for( ; index < array_size; index++) array[ index ] = 0; }
Can this function enter an infinite loop?
The following metrics were computed from 1 interview experience for the SpaceX Web Developer role in Hawthorne, California.
SpaceX's interview process for their Web Developer roles in Hawthorne, California is extremely selective, failing the vast majority of engineers.
Candidates reported having very good feelings for SpaceX's Web Developer interview process in Hawthorne, California.