Meta | SW/ML | Hybrid | Oct 2022

Difficulty: EASYCategory: InterviewExperienceFrequency: 1Asked On 2022-10-12Added By Anonymous
Source: Link

Company: Meta
Role: SW/ML (Software Engineer/Machine Learning Engineer)
Interview Stage: Onsite
Location: Hybrid
Year: 2022

Original Post Content:

Situation
A week before my virtual onsite interview, a hiring freeze announcement was in the media. However, my full-day interview was conducted as scheduled. All the interviewers acted like nothing happened at Meta, they did their best interviewing me, and so did I.

<n>
Two sessions of coding interviews
All the problems were slight as well as decent variants of the Facebook tagged problems. I practiced top 50 Facebook problems (https://leetcode.com/problem-list/top-facebook-questions/) + additional 30 problems from Facebook tagged, sorted by frequency in the last 6 months (https://leetcode.com/company/facebook/). Out of 6 problems including a phone screening, I could solve 5 problems:

  • String / Hash Map / Stack + Monotonous Stack / Queue / Heap ... 3 problems
  • Trees / N-arys / Graphs / DFS / BFS / Topological Sort ... 2 problems
  • Sliding Windows / Two-pointer problems ... 1 problem

One session of ML system design interview
When scheduling an interview, I had a discussion time with a recruiter to choose the best option among 1) SW System Design 2) ML System Design or 3) ML Research, based on my previous background. And I chose option 2).

<n>As expected, designing a recommender system was asked. Although a given problem per se didn't mention a recommender system, you could drive it by asking clarification questions. This blog of Meta was super helpful: https://ai.facebook.com/blog/powered-by-ai-instagrams-explore-recommender-system/

<n>I've mainly prepared with the popular "Grok the ML Interview" and "ML System Design". They were helpful to drive a given one-sentence problem into an ML framing approach. I mainly focused on Recommendation system, Feed-based system, and Search ranking. For each problem, I tried to construct an overall logical workflow and tried to fill in details on what to mention in terms of algorithms, pros and cons of each technique, implications of metrics etc. as the following structure:

  • Problem statement -> Metrics -> Architectural components -> Feature engineering (Embeddings) -> Training data generation -> Candidate generation & Ranking -> Online experimentation

Two sessions of behavioral interviews
Situational questions asking for more concrete examples. Similar questions from two sessions. Pretty common behavioral questions, found similar questions from this site: https://igotanoffer.com/blogs/tech/facebook-machine-learning-engineer-interview

<n>
Lesson / Next
It was a good opportunity going through SW/ML onsite interview with a focused one-month preparation. Given the current situation at Meta, it seems wise to prepare for other interviews targeting elsewhere. Finally, Leetcode becomes my daily routine to check in!

Comments