The process took 1 day. I interviewed at Meta in Jan 2011
Interview
The interviewer was very friendly, and we chatted some after he introduced himself and his projects.
He asked me to design and implement algorithms that correct typos, offering guidance, encouragement, and confirmation along the way. It felt really good to voice my thoughts along the way, and it helped him to know what I'm thinking.
He asked a few follow-up questions afterwords about my code (which I think he made up on the spot). I answered and we agreed on the answers.
Next, he presented a scenario that we formed a web startup featuring that code at its core. So then we discussed how to use more memory and less CPU, and how to scale up the company.
At the end I asked him his thought about fb and what he did before working there.
The experience was very fun.
Interview questions [1]
Question 1
Design and implement an algorithm that would correct typos: for example, if an extra letter is added, what would you do?
I applied through an employee referral. The process took 2 weeks. I interviewed at Meta in Dec 2010
Interview
I was first called by a FB recruiter and we chatted about 15 min about my general background information.
I then was followed up with a phone interview with a FB engineer. He seems to be an experienced engineer. He started with a common background question like challenge of current project. Then, he asked me to design the Facebook Credit system. I proceeded with talking about I would started with designing the backend of the system, for example a ER diagram that would outline the relationship between existing user information and the new information related to the FB Credit system. I was a little nervous at the beginning, but the interviewer jumped in and gave me some help. He then asked me how would the total credit points of a user be calculated based on my design. For that question, I answered how the data is delivered to user from end to end in a multi-tiered web application. Next is the programing question (write a function to convert an ASCII representation of a positive integer to it's numeric value). I had a subtle bug in my code, but in general I got it right. I coded in PHP, the interviewer is satisfied with it since FB uses lots of PHP. The last 5 min was for me to ask him some questions.
The interviewer was very professional and helpful during the interview. He was able to follow my thoughts and provide hints.
Interview questions [4]
Question 1
Design the Facebook Credit system which is a application where users can buy/trade virtual currency and can use the virtual currency to purchase Facebook services, like paid apps.
I applied through college or university. The process took 1 day. I interviewed at Meta (Palo Alto, CA) in Nov 2010
Interview
First I had a phone interview. The question was fairly straight-forward (multiply two very large numbers given as Strings) and the interviewer wasn't looking for any tricks or anything like that to solve. Like others have mentioned, quick clean code seems to be the key. Unfortunately, the interviewer had a very thick East Asian accent and talking over the phone just made things worse. I had to ask him to repeat quite a few times. It was probably me but at times I couldn't even tell when he'd asked a question because of the inflection! It must've gone well enough though because I got an on-site call.
The on-site was two interviews of 45 min each. In the first one, I took a bit of a hit because a) I couldn't see the solution right away b) it took me a while to get up to speed and code the thing - I did manage to finish it though and it seemed (relatively) bug-free. Again, as lots of people have mentioned, the interviewer seemed quite young, just a year or so out of school and he didn't offer much in terms of feedback - positive or negative - as the interview progressed. Once he'd given me the question and given me the hint that got me started, he was busy with his iPhone, rarely looking up. That kinda sucked.
The second interviewer was much nicer - probably one of the best ones I've interviewed with - lots of feedback, lots of encouragement, was accepting of different trains of thought and non-standard answers. Seemed like a really nice guy too.
Overall, it seems to be the case with Facebook that
a) Your interview really depends on who you get
b) They seem to value quick-clean-bug free-optimized code at the first try more than anything else
c) Questions are of average to above-average difficulty (if you've prepared!)
Interview questions [5]
Question 1
Write a function to take a BST and a value k as input and have it print the kth smallest element in the BST.