[NDA] Facebook | E4 | London | May 2019 [Reject]
Company: Meta (Facebook)
Role: e4
Interview Stage: Onsite
Location: London, UK
Year: 2019
Original Post Content:
Status: 13 years of IT experience
Position: Software Engineer at Facebook
Location: London, UK
Date: May 2019
I was privileged to have 5 rounds of interview (Telephonic + Onsite) with Facebook for the Software Engineer position at London, UK. The recruiter approached me over Linkedin and asked to have an introductory call. In introductory call she introduced herself and asked about me, my interests and what kind of role/work I am looking in future. After this call she sent me lots of documents and links to prepare for next telephonic round. I took 15 days of time to prepare and then appeared for the telephonic round. Interviewer was from London office and looked quite supportive with the questions. This 45 mins round started with 5 mins of introduction.
He gave me a problem which I was supposed to code on online code editor of my choice -
Question 1:
https://leetcode.com/problems/find-all-anagrams-in-a-string/
I started with a brute force (k*k*n) solution where k is pattern length and n is the input length. I explained the algo - I will take each substring of length k from input string and check with pattern whether they are anagram or not. Interviewer agreed with algo but asked to write code with better complexity. I knew it can be done with much better complexity but I was not sure whether I would be able to write code for that in that pressure situation and time limit. Hence I went with a little safer approach which had better complexity than brute force but worse than O(n). I explained my algo as - I will get substring of length k using sliding window technique and then sort that substring and compare it with already sorted pattern string. He agreed to it and asked me to write the code. I could write the code without any bugs. He was impressed. He was very particular about correctness of the code than efficiency.
I learnt that you need to produce a WORKING code first and then improve it if you can. If you just have plenty of talks over BEST solution but you can't write the code for that, that doesn't help.
After this, he asked a follow up question
Question 2:
There is an integer number given, you have to find out number of 1's in its binary representation. It was fairly easy and I solved it in couple of minutes.
Interviewer was overall impressed and was looking positive. We finished 1 minute before scheduled time.
After that, I got an email from recruiter that I have cleared telephonic round and I need to fly to London for on-site round. Again she sent another set of preparation material for me to prepare. She also suggested to practice well on Leetcode and take some solid time before appearing for the on-site. I prepared for another 1 month and after my visa done, I appeared for the interview. Due to NDA I can not disclose questions asked in on-site but can share the experience.
Onsite:
It was a warm welcome from the recruiter at Facebook London office on interview day, and she made sure to make me comfortable. She also said me not to worry, it is my first time and being nervous is natural. That gave me some confidence. All the interviews started on exact time and ended on exact time. I really liked the punctuality and the professionalism of the interviewers. After 2 rounds of interviews, I was taken to the lunch with a fellow Facebook employee. I was amazed to see so many facebook employees and the atmosphere in the cafe was so energetic and lively. We had some talks about Facebook London office and kind of work they do. It was a relaxing experience after 2 rounds of technical interviews. I could felt that even after such a big brand, somewhere Facebook still looks like a startup and the way they are deeply rooted to Engineering is really commendable. I had another 2 rounds after lunch and then interviewer from the last round took me to a tour to the Facebook London office. It was really GREAT to experience that. At the end, I was asked to leave for the day and that they will come back with the feedback in a week.
Summary and learnings:
In summary experience from the start to end was really impressive. The way "what to expect in each round" was detailed to me, kind of preparation material, accommodation provided for the interview were really satisfactory. Also from the question quality/difficulty standpoint all the questions asked were Leetcode easy to medium standard. I learnt that knowing only the answer of a problem doesn't help much, how you structure your solution step by step is what interviewer are more interested about. Once you start keep discussions going in a progressive direction that makes interviewer build confidence on you.
Even though I could not make for the final cut, I never felt I was treated like rejected. In the last feedback call, recruiter said that this was my first time and I could always try after an year with more preparations. I did great in all rounds.
Best interview of my life.