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
I applied through an employee referral. The process took 1+ week. I interviewed at Meta (Menlo Park, CA) in Apr 2011
Interview
A phone screen followed by 4 onsite interviews.
The interviews were mostly about coding which I liked, the interviewers were very open about their likes and dislikes in facebook and helped sell the place.
The recruiters were great in keeping me in the loop and giving me the status and eventually the offer.
I applied through an employee referral. The process took 7 weeks. I interviewed at Meta (Palo Alto, CA) in Jan 2010
Interview
First, 3 phone screens. Talk about your previous work and interested, then solve algorithmic problems. They are usually not very hard. After that, onsite with ~5 interviews of the similar type.