MetaMachine Learning Engineer

Meta Machine Learning Engineer Interview Questions

Prepare for this exact position with 13 real candidate reports. Review the levels, locations, interview formats, and questions that appeared most often for Meta Machine Learning Engineer candidates.

13

role-specific reports

4

questions found

4

levels represented

9

locations represented

Updated 2026-07-30

Search real candidate reports

Meta Machine Learning Engineer candidate reports

Search within this position by level, location, interview type, outcome, or a specific question.

13 matching interviews

3 questions
  1. 01

    Describe your experience collaborating with cross-functional teams and resolving conflicts.

    Behavioral & Leadership

  2. 02

    Solve the nested list weight sum problem.

    Coding & Algorithms · Medium

  3. 03

    Solve a variant of the random pick with weight problem.

    Coding & Algorithms · Medium

7 questions
  1. 01

    Traverse a tree boundary.

    Coding & Algorithms · Medium

  2. 02

    Find the minimum subarray sum equal to k.

    Coding & Algorithms · Medium

  3. 03

    Implement topological sorting for a graph.

    Coding & Algorithms · Medium

Machine Learning Engineer · E5

Menlo ParkAug 2024MixedOffer
7 questions
  1. 01

    Traverse a binary tree and return nodes grouped by their vertical order position.

    Coding & Algorithms · Medium

  2. 02

    Remove minimum characters from a string to make all parentheses balanced.

    Coding & Algorithms · Medium

  3. 03

    Calculate the sum of all node values along each root-to-leaf path in a binary tree.

    Coding & Algorithms · Medium

Machine Learning Engineer · E5

Menlo Park, CAJul 2024OnsiteRejected
5 questions
  1. 01

    Find the lowest common ancestor of two nodes in a binary tree.

    Coding & Algorithms · Medium

  2. 02

    Remove duplicate elements from a sorted array in-place.

    Coding & Algorithms · Easy

  3. 03

    Validate whether a string is a valid abbreviation of a given word.

    Coding & Algorithms · Medium

Machine Learning Engineer · Senior

LondonNov 2022PhoneRejected
2 questions
  1. 01

    Find the maximum sum of a path in a binary tree, where a path can start and end at any nodes.

    Coding & Algorithms · Hard

  2. 02

    Find the shortest path from top-left to bottom-right in a binary matrix without using diagonal moves.

    Coding & Algorithms · Medium

Machine Learning Engineer

Bay AreaOct 2022PhoneRejected
2 questions
  1. 01

    Implement an algorithm and then optimize it for GPU execution using vectorization and discuss parallelization approaches, including edge cases with early termination.

    Coding & Algorithms · Easy

  2. 02

    Design and implement a specialized data structure similar to min-stack or max-stack.

    Coding & Algorithms · Medium

Machine Learning Engineer · E5

Remote, CanadaSep 2022MixedRejected
13 questions
  1. 01

    Identify which buildings can see the ocean to their right given their heights.

    Coding & Algorithms · Medium

  2. 02

    Calculate the sum of all values in a binary search tree within a given range.

    Coding & Algorithms · Medium

  3. 03

    Design a queue system for Ticketmaster.

    System Design · Hard

Most-asked Meta Machine Learning Engineer questions

Ranked by how often each question appeared in reports for this exact position. Answers are written by our team.

Merge overlapping intervals into non-overlapping ones.

asked in 3 reportsmediumO(n log n) time, O(1) space

Sort intervals by start time. Iterate through maintaining the current merged interval—when next interval's start ≤ current end, extend the end. Otherwise, save the current interval and start fresh. The key insight: sorting guarantees no merges are missed, since overlapping intervals must be processed consecutively. Greedy merging is optimal because once sorted, each interval either overlaps the previous or stands alone.

Find the minimum number of characters to remove to make a string of parentheses valid.

asked in 2 reportsmediumO(n) time, O(1) space

Use a single-pass greedy approach: track unmatched opening parentheses with a counter. For each '(', increment it; for each ')', decrement if counter > 0 (matched), otherwise count as a removal. At the end, any remaining unmatched '(' must also be removed. The key insight is that we need only counters, not storage—every '(' without a matching ')' and every ')' without a preceding '(' must be removed.

Implement weighted random selection to pick an index based on probability weights.

asked in 2 reportsmediumO(n) preprocessing, O(log n) per selection; O(n) space

Build a cumulative weight array where each index stores the sum of weights up to that point. To select: generate a random number in [0, total_weight), then binary search the cumulative array to find the first index where cumulative_weight ≥ random_value. This transforms O(n) linear scanning into O(log n) queries after O(n) preprocessing. The key insight is that cumulative weights map the weight distribution to a continuous range we can search efficiently.

More reported questions

  1. 01

    Design a recommendation system addressing data, metrics, feature engineering, improvements, and runtime.

    asked in 2 reports