meta logo
Meta· E4/E5

Meta USA E4/E5 Phone Screen -- Update Through to Onsite !

Location
USA
Posted
15 May 2025
322 reads

Summary

I completed a phone screen with Meta USA for an E4/E5 role, which included two specific LeetCode questions (Range Sum of BST and LRU Cache with variants), and I have advanced to the onsite rounds.

How it went

Hello,

Giving back to the community since reading the problems that people got in the interviews here has been super helpful for me. Just got done with my phone screen.

Was asked the following.

  1. Range Sum of BST (No variant)
  2. LRU Cache with some additional conditions and constraints.

Was able to solve the first question easily and was asked test conditions etc. Seemed like this was important and I went over how we can have negative values, low should be less than high, etc. etc.

For LRU cache, I had not solved it recently, but remembered the Double linked list solution as I had done it at some point in the past. Was not entirely sure what to store as the hashmap value so started off by saying we should store the node value and then remove the node for the get statement.

Interviewer pointed out that it would be O(N) to traverse linkedList to the node again. So then realized that we need to store pointer/reference to the node as hashmap value (Interviewer hinted and helped me get ther). Once I realized the solution, since we were running out of time interviewer just made me implement the get() method and the get_most_recent() method.

Fingers crossed to be put through to onsites. Will update once I know more.

Update: Through to Onsite!!

Questions asked (2)

  1. 01

    Range Sum of BST

    Data Structures & Algorithms

    The standard LeetCode problem 'Range Sum of BST' without any specific variants.

    Open the problem
  2. 02

    LRU Cache (with variants)

    Data Structures & Algorithms

    The standard LeetCode problem 'LRU Cache' but with some additional conditions and constraints. I needed to implement the get() and get_most_recent() methods.

    Open the problem

Know someone preparing? Send it to them:WhatsAppLinkedInX

Interviewed at Meta recently?

Write up your rounds while you still remember the questions. It helps the next person more than you would think.

Share your experience
Discussion 0

Questions for the author, or how your own interview compared.

Join the discussion

Sign in with Google to comment or ask the author a question.

No comments yet

Be the first to share your thoughts and start the discussion!