Facebook | Phone Screen | Cleared
Company: Meta (Facebook)
Role: e3, e4
Interview Stage: Phone Screen
Location: unknown
Year: unknown
Original Post Content:
Recently I got a chance to attend FB telephonic round; below are the two questions I had been asked. Interviewer was very good and I must say it was one of the best interview experiences I have had so far.
I could code both of them on time and I was able to explain the flow with corner cases. I had missed a few cases which I fixed on the go and he was fine with that.
1. https://leetcode.com/problems/add-binary/
2. https://leetcode.com/problems/valid-number/ (not exact one but some variant of it)
Analysis:
1. I felt I was lucky as the interview did not spend time on intro, but he directly jumped into questions which provided me more time; otherwise, in general, 5-7 minutes goes into exchanging intro.
2. I intentionally proposed different possible cases which indicates that I have a wider vision to the problem. In some cases, he mentioned due to lack of time we can skip it or suggested I can assume in my code. But I clearly saw he was noting down all those conversations, that went in my favor.
3. If any corner cases are missed, don't get worried, but try to fix it on the go. That gives an indication that you are good at catching bugs in your code, which is again a positive trait.
I finished it almost on time (40 min - 5 min normal chat). I got mail yesterday (after 6 days anxious wait) that they are considering me for the next on-site rounds.