Facebook

  www.facebook.com
  www.facebook.com

Facebook Software Engineer Interview Questions

Updated Dec 14, 2014
Updated Dec 14, 2014
402 Interview Reviews

Interview Experience

Interview Experience

62%
23%
14%

Getting an Interview

Getting an Interview

22%
22%
14%

Interview Difficulty

3.3
Average

Interview Difficulty

Hard

Average

Easy

402 Candidate Interview Reviews Back to all interviews

Sort: Popular Date Difficulty

1 person found this helpful  

Software Engineer Interview

Anonymous Interview Candidate
Anonymous Interview Candidate
Application Details

I applied through a recruiter. The process took 3 weeksinterviewed at Facebook.

Interview Details

Was contacted by a recruiter on Linkedin. He set up a call with the relevant FB department.I was not looking actively for a job, so was little under prepared. The interviewer was nice and came across as a knowledgeable hands-on person. Provided a shared hackpad to do the white boarding process.

Interview Questions
  • Was not expecting a simple heap search algorithm implementation.   View Answer
No Offer
Positive Experience
Average Interview

Other Interview Reviews for Facebook

  1. 16 people found this helpful  

    Software Engineer Interview

    Anonymous Interview Candidate in Menlo Park, CA
    Anonymous Interview Candidate in Menlo Park, CA
    Application Details

    I applied through a recruiter. The process took 4+ weeksinterviewed at Facebook in July 2014.

    Interview Details

    I was hiring specifically for an iOS position. The recruiters start with Obj-C 5 multiple choice questions, which required some surprising depth. I won't get into specifics, but take time to understand memory management (even with arc), blocks, addresses and pointers.

    After was a phone interview which mostly involved a collaborative coding question. The questions asked here were very typical algorithmic questions, the answers usually involved a hash to cache meta values to increase performance.

    Protip: Be familiar with NSSet and NSOrderedSet. These data structures are more performant than NSArrays for some operations, and I found myself using them in almost every answer.

    Then you have an onsite visit, with 4 additional interviews: 2 coding, 1 design, and 1 "culture fit" which, for me, was really another coding interview.

    Your recruiter will contact during the next week or two afterwards to give you updates on your status. I believe there are three different meetings where your interviewing notes are reviewed and given consideration.

    Interview Questions
    • What is something other people misunderstand about you?   View Answer
    Negotiation Details
    I went back and forth once between a competing company and received higher offers each time. Ask your recruiter for honest assessments of your interviews - if you did well FB will be much more willing to "one up" the competition.
    Accepted Offer
    Positive Experience
    Average Interview
  2. 1 person found this helpful  

    Software Engineer Interview

    Anonymous Interview Candidate
    Anonymous Interview Candidate
    Application Details

    I applied through an employee referral. The process took 2 weeksinterviewed at Facebook in August 2014.

    Interview Details

    I was contacted by a Facebook recruiter, and offered an interview for a Software Engineer Internship. I had two interviews, both a combination of talking on the phone and coding on collabedit.com. The first interview took place about five days after I was first contacted about the position; the interviewer asked a few questions about projects I'd done and then started with programming questions. The second interview happened a week later, and the interviewer dove straight into coding problems. I was asked general algorithm questions, like get the n-th Fibonacci number, find the square root of a number, find the depth of a binary tree, merge two arrays, etc. Both interviewers saved time at the end for any questions I wanted to ask them.

    Interview Questions
    • Display the sorted output of a merge of any number of sorted arrays. Then do it again, more efficiently.   View Answers (2)
    No Offer
    Neutral Experience
    Difficult Interview
  3. 1 person found this helpful  

    Software Engineer Interview

    Anonymous Interview Candidate in Seattle, WA
    Anonymous Interview Candidate in Seattle, WA
    Application Details

    I applied through a recruiter. The process took 1+ weekinterviewed at Facebook in August 2014.

    Interview Details

    I did not go beyond the first screening interview. Though I did not make it, but I thoroughly enjoyed the interview as the interviewer was interacting and helping me solve the problems and having discussion about the problem

    Interview Questions
    • How would u find out the number of cars passing through a busy bridge   Answer Question
    No Offer
    Positive Experience
    Difficult Interview
  4. Is this helpful? The community relies on everyone sharing – Add Anonymous Interview Review


  5.  

    Software Engineer Interview

    Anonymous Interview Candidate
    Anonymous Interview Candidate
    Application Details

    I applied online. The process took 2 weeksinterviewed at Facebook in August 2014.

    Interview Details

    Was contacted by a university recruiter after submitting my resume 9 months prior. I was given a two week period to prepare and complete a on the phone interview with an engineer at Facebook. Was asked limited personal information, and then prompted with a technical problem on an online collaborative document drafting site.

    Interview Questions
    • Techical Question: Check to see if one array is a subset of another.   View Answer
    No Offer
    Positive Experience
    Average Interview
  6. 1 person found this helpful  

    Software Engineering Interview

    Anonymous Interview Candidate
    Anonymous Interview Candidate
    Interview Details

    Sent my resumé, had a first round phone interview. 30 minutes, worked through one algorithm. Didn't hear back about another phone interview for 3 weeks, at which point I had already accepted another offer.

    Interview Questions
    • I was asked a relatively standard question about BSTs.   Answer Question
    No Offer
  7. 97 people found this helpful  

    Software Engineer Interview

    Anonymous Interview Candidate in Menlo Park, CA
    Anonymous Interview Candidate in Menlo Park, CA
    Application Details

    I applied through a recruiter. The process took 3+ monthsinterviewed at Facebook in November 2013.

    Interview Details

    This was for a position in their Infrastructure team in Cambridge MA.

    Recruiter contacted me in September and was very interested in my background and experience with highly scalable systems - both in Finance and Mobile phone payments.
    I attended some small intimate presentations they did as they were initially opening a new Boston office and wanted to grow it out. The meetings were great and I learned a lot about how they solve some of their biggest problems.

    I then did a screening interview on-site (because I don't do technical screens well on the phone). The question was "Given a binary tree, write code to print the tree out line by line". I did OK and got the Breadth First Search down fine, but couldn't figure out the - line-by-line part. (Turns out this is Facebook's #1 question to ask in interviews).

    Although my performance wasn't great they gave me a break on that and asked me back for another screening interview. This time I prepared well for another coding interview but it turned out to be a Design interview. The problem was

    "Imagine you have 10,000 servers and need to monitor the performance of each one, how would you do it" - naturally you need to be able to NOT take too much of the bandwidth and so you'll have to do sampling, have some history to watch for trends etc.

    I passed that and was very excited to be flown out to Menlo Park for the final round.
    I studied like CRAZY based on questions on this site and CareerCup. I took 4 weeks and studied about 15 hours per week.

    Turns out I focused on the wrong questions - I studied Tree, String, Array and List algorithms based on the distribution of Q&A but I was asked Binary math and heap algorithms. Here are the questions I was asked.

    1) How would you implement division without +, - or multiplication (a "classic" question, but not one of the ones I would focus on). I bombed on this as I was not expecting and could not recall my binary math. I figured out the high level outline but that was all. That I was asked this in the "culture fit" interview made this doubly unexpected.

    2) Given 10,000 servers containing a Billion integers each how would you find how to find the median? I knew the answer to this question (use two heaps) - not because I had focused on it, but I had found it an interesting question while studying. However he then asked "How much memory do you need?" and I didn't know how big the heaps would need to be. The real answer I was trying to get is - what is the minimum heap you need. I had a guess but I think I got this wrong.

    3) Given a List structure where each node contains a Next node and optionally a pointer to another list, flatten that list
    e.g.

    L1 --> L2 --> L3 --> L7 --> L8
                          |
                          v
                         L4 --> L5-->L6

    WIll be flattened to
    L1 --> L2 --> L3 -->L4 -->L5-->L6-->L7-->L8

    I did OK on this - getting the answer - but it appeared I took too long. The interviewer also interrupted me a lot while I was writing an initial solution and that threw me off - I like to be more iterative in my problem solving but I think he expected 100% immediate correctness.
    He had an observer there too and that guy looked bored out of his mind and that bugged me a little too as it wasn't clear who would be doing the judging.

    4) I was also handed some hard to read Python code (I don't know Python) and asked to figure out what it does. I did OK on this - but again surprised to be handed hard-to-read code in a language I didn't know.

    5) One final question "How would you implement the "ls" Unix function in your language of choice. It should take the input:
    >ls a/b/c/*/e/*/f/*/*/g
    and the output should be similar the the output given by unix."

    I used a tree structure to represent the file directory structure and wrote a solution from there. I did OK on this.

    Overall: Everyone seemed very nice - I had a nice lunch and the campus is interesting but it was clear that what I studied was not what I needed to (so lesson learned: don't just trust the distribution of questions on Glassdoor or CareerCup). I even got to walk past Zuckerberg's office (more of a conference room) and saw Sheryl Sandberg in there.

    One interesting thing I learned is a lot of Google people are leaving for Facebook. Also I'd say if you are over 30 (I am 41) you are a rare bird at Facebook :-)

    I knew based on the reactions of the interviewers that it was very probably a bust, but overall a good experience and something I will learn from. Very disappointing as I really wanted to be one of the first few Facebook engineers in the Boston area - and to work on their super high scalability issues but such is Life.

    Interview Questions
    • How would you implement division without +, - or multiplication   View Answers (7)
    No Offer
    Positive Experience
    Difficult Interview
  8. 2 people found this helpful  

    Software Engineer Interview

    Anonymous Interview Candidate in Menlo Park, CA
    Anonymous Interview Candidate in Menlo Park, CA
    Application Details

    I applied through an employee referral. The process took 2 weeksinterviewed at Facebook in July 2014.

    Interview Details

    Introduced into the whole process via a referral, so I was able to move quickly to an onsite interview. This was easily the best interview experience I've had in a long time - recruiter was friendly and extremely responsive, and each of the interviews was engaged during the interview.

    Everything moved very quickly once I indicated that I felt prepared to interview.

    Interview Questions
    • Nothing terribly surprising - be prepared to talk through CS fundamentals, large scale design, and code code code.   Answer Question
    Accepted Offer
    Positive Experience
    Difficult Interview
  9. 5 people found this helpful  

    Software Engineer Interview

    Anonymous Interview Candidate in Menlo Park, CA
    Anonymous Interview Candidate in Menlo Park, CA
    Application Details

    I applied through a recruiter. The process took 3 daysinterviewed at Facebook in June 2014.

    Interview Details

    I was contacted by the recruiter through linkedin. I had an initial call with the recruiter where I was asked about my interests and what I might be looking for. Recruiter explained me the entire process on how the interview goes. Usually they have an initial phone interview, where you have to write code through collabedit. After that in person interview.

    Phone interview was all about data structures. First the interviewer asked me what interests me about facebook, what is one thing about facebook I like. After that interviewer asked me to print a binary tree in level order. I did that. And then I was asked to print the tree in level order but using DFS. Interviewer was nice, was giving a lot of hints whenever I was stuck. Overall, a good experience.

    Interview Questions
    • Nothing difficult for someone who would be clear on data structures I guess.   Answer Question
    No Offer
    Positive Experience
    Difficult Interview
  10. 3 people found this helpful  

    Software Engineer Interview

    Anonymous Interview Candidate
    Anonymous Interview Candidate
    Application Details

    I applied through a recruiter. The process took a weekinterviewed at Facebook in June 2014.

    Interview Details

    One/two phone interviews and one onsite. Contacted by recruiter, setup the time for a phone screen. Fairly well managed setup. Interview called on time, and was very nice to work with.

    Interview Questions
    No Offer
    Neutral Experience
    Average Interview

See What Facebook Employees Are Saying

1 person found this helpful

 Former Business Analyst in Menlo Park, CA

Pros: “-Food -Drinks -Pizza I can go on and on.. If you are smart and you think you can improve things..this place is for you.. Doesn't matter if you are a contractor or fulltime.. I was…” Full Review

Work at Facebook? Share Your Experiences

Facebook

 
Click to Rate
or

The difficulty rating is the average interview difficulty rating across all interview candidates.

The interview experience is the percentage of all interview candidates that said their interview experience was positive, neutral, or negative.

Your response will be removed from the review – this cannot be undone.