Meta E5 | SWE Product | Full loop

meta logo
meta
E5 SWE ProductBay area
May 30, 20254 reads

Summary

I underwent a full loop interview for an E5 SWE Product role at Meta, which included two coding rounds and a product architecture round.

Full Experience

Coding 1:

  • Q1. Minimum remove for valid parenthesis
  • Q2. Lowest common ancestor in a tree

Coding 2:

  • Q1. variation of weighted sum of nested array
  • Q2. variation of shortest distance from all buildings (multisource BFS)

Prod Arch:

hackerrank live contest leaderboard with quite a few custom functional requirements

Edit: Bay area location

Interview Questions (5)

Q1
Minimum Remove to Make Valid Parentheses
Data Structures & AlgorithmsMedium

Given a string s of '(', ')', and lowercase English characters. Your task is to remove the minimum number of parentheses so that the resulting parentheses string is valid. Return any valid string.

Q2
Lowest Common Ancestor of a Binary Tree
Data Structures & AlgorithmsMedium

Given a binary tree, find the lowest common ancestor (LCA) of two given nodes in the tree.

Q3
Variation of Weighted Sum of Nested Array
Data Structures & AlgorithmsMedium

Calculate the weighted sum of integers in a nested list structure. The specific variation was not detailed, but generally involves defining weights based on depth or reverse depth for each integer in the nested array.

Q4
Variation of Shortest Distance from All Buildings
Data Structures & AlgorithmsHard

Given a 2D grid where each cell can be one of three values: 0 (empty land), 1 (building), or 2 (obstacle). A variation of finding the shortest total distance from an empty land cell to all buildings. The candidate mentioned a multisource BFS approach, hinting at the standard solution pattern.

Q5
Design HackerRank Live Contest Leaderboard
System Design

Design a system for a live contest leaderboard similar to HackerRank, accommodating various custom functional requirements that were not explicitly stated.

Discussion (0)

Share your thoughts and ask questions

Join the Discussion

Sign in with Google to share your thoughts and ask questions

No comments yet

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