Facebook E5 - Initial Tech Screen Interview

21
May 04, 2024
May 04, 2024

First round, initial tech screen for a "Software Engineer, Product" role, as the Meta Careers site describes it (when you start the interview process for the first time, an account is made for you there).


Questions

  • 1650. Lowest Common Ancestor of a Binary Tree III
    • My solution involved an iterative with two pointers and a hashmap/dictionary for tracking all the nodes that were seen, and by which pointer. That way, if a node is run into that already is marked as having been seen by the other pointer traversing up its parents, we know thats the LCA. You could do this recursively, just seems like it'd be a pain memo-ing an object around via function calls.
  • 19. Remove Nth Node From End of List
    • This one is fairly straightforward, even if it is technically a medium difficulty problem. Just track the length of the linked list somehow, use a stack, use recursion, or whatever else, and change the reference of the next node for the item that comes before the target to be the node that comes after the target.

How I got the interview

I had Meta actually reach out to me via LinkedIn, I did not apply to any role at Meta myself.
That's how it happened to me each of the 3 times (including this time) that I've interviewed at Meta/FB.

Again: I've never applied to a job at Meta/FB.

So... goes to show, you NEED some experience and a solid resume to get their attention!
My first time interviewing with Meta/FB, I had about 3 years of real experience on the job.
That was back in 2019, so it has been 5 years since my first time.


Preparing

Once before, I've failed at this step of the Meta interview process!
This is my second time getting past the tech screen and answering all questions successfully in the tech screen.

If you can get premium, the best use of your time is doing the Top Facebook Questions sorted by frequency, if you can already deal with the 20min per question time constraint Meta puts on you.

To compare the interview to something you can do for realistic practice, I do the Leetcode Contests every weekend, to measure myself - but more importantly, to force myself to solve problems with a timer hanging over my head.

Lately I solve the easy question and first medium question in leetcode contests in about ~50 minutes.

The facebook interview is even harder than that.


The tl;dr

MAY YOU ATTAIN ENLIGHTENMENT:

  • Less than 45 minutes of time to write code
  • Two "Low Medium" difficulty problems
  • Very limited assistance from interviewer

Remember: The interview rounds that come after are even harder than that.

Comments (0)