Meta | E4 | Offer
Company: Meta
Role: e4
Interview Stage: Onsite
Location: unknown
Year: unknown
Original Post Content:
Time to give back.
Experience: 5+ Years
LC: 500
Meta Tagged LC last 6 months: >200
Have been grinding LC for last two years on and off.
Phone Screen:
Only 1 question.
- Dot product of two sparse vectors
I suggested using a hash map for storing values. We then discussed optimization strategies, which ultimately led to exploring a binary search approach. I participated in the discussion, clarifying the problem and ensuring we were on the same page. The entire process took about 40 minutes.
Got onsite call next day.
Onsite
Coding 1:
- https://leetcode.com/problems/valid-palindrome-ii/description/ followed up by https://leetcode.com/problems/valid-palindrome-iii/description/
- https://leetcode.com/discuss/interview-question/4288566/E4-meta-phone-screen-qs/ Pushed hard for 1 pass solution.
I was asked three questions and I answered all of them on time.
Coding 2:
- https://leetcode.com/problems/shortest-path-in-binary-matrix/description/ (Variation: they want the path too)
- https://leetcode.com/discuss/interview-question/451431/facebook-onsite-generate-random-max-index
Last question. Never heard of "reservoir sampling" before. Luckily, it clicked right before at the end and I figured out a one-pass solution. (1 Pass solution was super important in both of my coding rounds, They pushed really hard for 1 pass solution)
System Design:
- Messenger -> I think I nailed this. Done this over 10 times before, and my mentor said it's E5/E6 level work when in mock calls.
Hiring Manager:
This was my weak link. I didn't highlight my experiences as well as I could. This downleveled me for good.
TC: 300k
My suggestion:
My focus was carcking Meta interview, so I grinded Meta LC, did more than 200 questions asked in last 6 months. I almost memorized recenlty asked SD question in last 6 months and revised them at least 5 times each.
I don't know if this is the right approach tho.
I also got offer from Amazon too, there were overlapping LC questions.