I applied online. The process took 1+ week. I interviewed at Meta
Interview
Smooth, good follow up.
Interview questions [1]
Question 1
It was a silly question - how to represent a recursive list of objects in Java, from a developer familiar with only type less languages. Had a hard time convincing him that the instanceof operator was necessary.
Interview for a summer internship
The process is really fast - it takes two consecutive days to take the interviews and you get the result within twenty four hours
Interviewers are friendly and try to relax the candidate
Usually there are no knowledge-based questions, and you can choose your preferred language
I applied through a recruiter. The process took 2 weeks. I interviewed at Meta in Oct 2012
Interview
Was contacted by recruiter through linkedin profile. Had a initial phone interview with collabedit. Was not offered an onsite interview.
Was asked to write a program that would take a filename and a search pattern as arguments and return if the pattern matches the filename. Wildcards * and ? can be used in the pattern.
eg:
1. filename: file.txt pattern: f*txt result pattern matches
2. filename:file.txt pattern:f?le* result: pattern matches
Answer:
bool matchFilename(const string& flname, const string& patter)
{
for (int i=0,j=0;i<flname.length(),j<patter.length();i++,j++)
{
if (patter.at(j)=='*')
{
if (j+1<patter.length())
{
i = flname.find(patter.at(j+1),i+1);
i--;
}
}
else if (patter.at(j)=='?')
{/*do nothing*/}
else
{
if (flname.at(i)!=patter.at(j))
return false;
}
}
return true;
}
Interview questions [1]
Question 1
What is the most exciting thing about the current project Im working on