Facebook Software Engineer Interview Questions | Glassdoor

Facebook Software Engineer Interview Questions

Updated Aug 21, 2017
978 Interview Reviews

Experience

Experience
60%
23%
16%

Getting an Interview

Getting an Interview
30%
23%
21%
21
1
1
0

Difficulty

3.2
Average

Difficulty

Hard
Average
Easy

978 Candidate Interview ReviewsBack to all Interviews

Filter

Sort: PopularDateDifficulty

Filter

Sort: PopularDateDifficulty

Helpful (1345)  

Software Engineer Interview

Anonymous Employee
Accepted Offer

Interview

phone interview starting with introducing yourself followed by two code questions.
The first coding question is very standard coding question and the second one is
a little more related to facebook's certain functionality

Other Interview Reviews for Facebook

  1. Helpful (43)  

    Software Engineer Interview

    Anonymous Interview Candidate in San Francisco, CA
    No Offer
    Neutral Experience
    Average Interview

    Application

    I applied online. I interviewed at Facebook (San Francisco, CA).

    Interview

    Standard computer science/algorithms phone screen interview.

    I've been a few years in my current job, and I have decided to try the job market again. My resume is impressive, I haven't padded it in any way, I've led software projects to release on time, and I'm finding it easy to get as far as phone screens, but no further.

    This isn't a criticism of Facebook itself, rather of the whole Bay Area software engineering scene - since the last time I went for interviews, there seems to be a much bigger focus on getting the initial computer science/algorithms questions correct on the first go. Miss an edge case that the interviewer brings up, you're toast. Misplace a < instead of <= in an iteration, you're toast even if you find it yourself. Take longer than 20 minutes per question, you're toast. Try to recreate from first principles an algorithm you haven't thought about since you graduated, or never, ever used in your work, you're toast.

    I've interviewed many people in my current job, and never regretted recommending employment to any of them. Every single one of the people I've recommended have made mistakes in their coding tests, and every one of them managed to find the errors when I pointed out that they had made a mistake. Perhaps I have lower standards, but when I interview, I look for how the interviewee recovers from a mistake, not that they are able to regurgitate something they learned from reading over Glassdoor interview questions.

    Or maybe I just come across badly on the phone. Hard to say.

    To recreate the process, go to leetcode and try some of the medium/hard exercises. If you can't complete it in under 20 minutes, and you have to redo some work to cover all the edge cases on submitting the solution, you can be sure that in an interview employers will thank you for applying, praise you for your impressive resume, and tell you no thanks.

    Interview Questions

    • Variation of standard algorithm question. Corrected code on being given edge case. Took 25 minutes to get satisfactory answer - probably too long for the interviewer.   3 Answers
    • Second question was a dynamic program question - I knew how to find the solution but hadn't even thought of the algorithm for several years. Was unable to complete the solution in the remaining 20 minutes.   2 Answers

  2. Helpful (1)  

    Software Engineer Interview

    Anonymous Interview Candidate
    No Offer
    Neutral Experience
    Easy Interview

    Application

    I applied through a recruiter. The process took 2+ weeks. I interviewed at Facebook.

    Interview

    Screen followed by full day interviews. Expectation is to solve two questions in two coding rounds in about 35 to 40 mins. So, indirect expectation is to mug up/memorize and spit out there. No time for thinking because many people just mug up to crack. I am not a mugger and this is not a place to work if you really care about solving real unseen problems.

    Interview Questions

  3.  

    Software Engineer Interview

    Anonymous Interview Candidate
    No Offer
    Positive Experience
    Easy Interview

    Interview

    Referred by someone at New York headquarter. Phone interview at the first round. Need to code and run online judge after the code has been completed. Have not heard from the feedback yet after 1 day.

    Interview Questions

    • Return the sum of node values at each level of binary tree   2 Answers

  4.  

    Software Engineer Interview

    Anonymous Interview Candidate in New York, NY
    No Offer
    Neutral Experience
    Easy Interview

    Application

    I applied through an employee referral. I interviewed at Facebook (New York, NY) in August 2017.

    Interview

    I was referred by alumni, and got a standard phone screen one week later. The technical questions were about basic algorithm and data structure. It took 2 weeks until I got second round interviewing. Still in the process.

    Interview Questions


  5. Helpful (4)  

    Software Engineer Interview

    Anonymous Interview Candidate
    No Offer
    Negative Experience
    Average Interview

    Application

    I applied through a recruiter. I interviewed at Facebook in July 2017.

    Interview

    Was contacted by an HR, she was very kind to talk to and provided enough material to prepare for the entire interview process starting with phone screen.

    Phone interview lasted EXACTLY 45 mins.

    Interviewer called me. Started with a brief intro about himself and then asked about my background. I took around 3 mins to give brief intro about my experience and I felt he was least interested in hearing i, I can say that b'coz I felt he was trying to stop me and jump to coding question. He didn't even comment anything about my experience, felt as if he is just following the protocol to get done with the interview.

    He asked me 1st question, I was able to solve it in 20 mins with optimal solution. Although no comment here from him whether as per him it is okay or not. Neither he asked me the run time complexity of the solution which was O(n).

    He then just jumped to another question. I took remaining of my time trying to get to the proper solution, but I think I was in the right direction b'coz I researched about that question after the interview.

    After couple of days I get a phone call from HR saying the feedback was not +ve. Interviewer felt my coding solutions were not optimal. I was shocked to hear this. Firstly, I solved 1 out of 2 questions properly and I didn't hear any feedback from hi while I solved the problem during the interview. If he thought it was not optimal, what made him jump to second question ?. He didn't even ask me complexity or at least he could have said "there can be much better solution can you think further ?". No feedback at all.

    As per the research I did and videos I saw, I guess FB interviewer tries to see your approach if it is not an optimal solution.

    In the end he was like "I only have time for 1 question to answer if you have any, or else I will be kicked out of this room". These were his words.

    I was like REALLY???. Company like Facebook doesn't have enough meeting/Interview rooms or do they reserve the room for exactly 45 mins when an interview is scheduled ?. I never felt comfortable during this interview, I felt I was rushed into it.

    I couldn't do much when I got the call from HR but I expressed my side of the story to the her.

    Interview Questions

    • A message containing letters from A-Z is being encoded to numbers using the following mapping:

      'A' -> 1
      'B' -> 2
      ...
      'Z' -> 26
      Given an encoded message containing digits, determine the total number of ways to decode it.

      For example,
      Given encoded message "12", it could be decoded as "AB" (1 2) or "L" (12).   2 Answers
    • Given an array of integers, return true if there are contiguous numbers such that they add up to a specific target.

      For eg: [6,1,2,3,3,7] target sum is 8, will return true because 2,3,3 adds up to 8 and are contiguous.

      [6,1,2,4,3,3,7] will return false as there are no contiguous elements which adds up to 8.   2 Answers

  6. Helpful (4)  

    Software Engineer Interview

    Anonymous Interview Candidate in Palo Alto, CA
    No Offer
    Positive Experience
    Difficult Interview

    Application

    I applied online. I interviewed at Facebook (Palo Alto, CA).

    Interview

    One Phone Interview. Three questions. Leetcode Medium level.

    Then onsite after two weeks. 4 rounds of whiteboard interviews. Interviewers we pretty chill. One leetcode easy and other questions were of leetcode hard level. Screwed up the easy question (brain freeze I guess). Managed the hard questions with the best possible complexity but missed a few edge cases and some silly mistakes that could have been avoided. I guess they look for a complete working solution with the best time complexity. Got a generic reject mail within 2 weeks.

    Overall a positive experience !

    Interview Questions


  7. Helpful (3)  

    Software Engineer Interview

    Anonymous Interview Candidate in Menlo Park, CA
    No Offer
    Neutral Experience
    Easy Interview

    Application

    I applied through an employee referral. I interviewed at Facebook (Menlo Park, CA) in July 2017.

    Interview

    Had a few chats with the recruiter, mostly because I kept dropping off. Recruiter was nice and seemed generally enthusiastic. I finally scheduled a phone screen in July 2017. Completed the exercise on collabedit. I completed in the time allotted, with about 8 minutes to spare. Gave correct runtime and functional, correct code. Interviewer was skeptical it worked, but after walking through it he decided it worked and said I did pretty well. I was not moved forward to an onsite. I was not given any feedback on my performance. I have no idea what went wrong. This is the second time I did a phone screen with FB and this is exactly what happened before.

    Interview Questions

    • Remove unbalanced parenthesis from a string. Give Runtime, space.   2 Answers
  8. Helpful (3)  

    Software Engineer Interview

    Anonymous Interview Candidate in Menlo Park, CA
    No Offer
    Positive Experience
    Average Interview

    Application

    I applied online. I interviewed at Facebook (Menlo Park, CA) in July 2017.

    Interview

    I applied through a recruiter. I interviewed at Facebook (Menlo Park, CA) in July 2017.

    I was contacted by a recruiter via email and he then called me up to get to know about my background and experience and then he scheduled a phone interview with one of the Facebook Engineers. The initial phone screen was pretty straightforward and not that difficult, so I was able to solve all the problems. I received an email from the recruiter the very next day for a quick chat over the phone and there I was told that they would like to continue with this process and a second phone interview was scheduled.
    The second phone interview was easy as well and I was able to solve the problem pretty quickly. And like before I was contacted by the recruiter almost immediately and he scheduled an on-site interview for me at Menlo Park,CA. The on-site interviewes were very intense. The questions were tough but luckily the interviewers at FB are very friendly and they try to help you out as much as they can. They actually want you to succeed. I underestimated the system design round and that was my BIGGEST mistake. But all in all, the whole experience was amazing. I have been to a lot of interviews before but the way Facebook conducts the interviews is just awesome.

    Interview Questions

    • PI - 1:
                 i.) Reverse a Linked List?
                 ii.) Divide 2 numbers without using "/" symbol and return remainder and the quotient?

      PI - 2:
                 i.) Merge Intervals (Leet Code)

      OS:
           i.) Behavioural: Why FB? Followed by a coding challenge: Minimal run time scheduler(Leet Code)
          ii.) CC: Expression Evaluation
         iii.) CC: Find the K closest points to the origin in 2D plane, given an array containing N points. You can assume K is much smaller than N and N is very large.   Answer Question

  9. Helpful (2)  

    Software Engineer Interview

    Anonymous Interview Candidate in Palo Alto, CA
    No Offer
    Negative Experience
    Difficult Interview

    Application

    I applied online. I interviewed at Facebook (Palo Alto, CA) in July 2017.

    Interview

    Typical process. Two phone interviews, one onsite interview. Finally rejected after onsite interview. Facebook recruiters seem to act very respectful until they want a candidate. Once they do not need a candidate anymore, recruiters are not responsive. Travelled all the way to PaloAlto for onsite interview. I felt like I did well .But five days after the interview, I myself had to follow up with recruiter for decision. Then recruiter emailed me saying that she has an update and she asked me free time for taking a phone call the next day. I was eagerly waiting and there was no call from her. I had to remind her the next day to call me. Then the recruiter called and said its a reject. I asked for feedback and she says there is no feedback and its just overall evaluation. Actually, I was told by the recruiter that facebook would give feedback on interviews but it was completely opposite after the onsite interview.

    Interview Questions


Don't Miss Out On a Job You Love
Upload a resume to easily apply to jobs from anywhere. It's simple to set up.