Meta Senior EM coding interview questions
These are the 14 coding questions YourAlly has tagged for Meta at Senior EM. Senior EM (M2) is the level where you manage other managers.
A coding round at a large tech company usually runs 45 to 60 minutes with one or two problems. You write code that runs, test it on your own examples and state its time and space cost. Manager loops include less coding, but you still need to reason about code and review it well.
Practice a mock Meta Senior EM coding loopPractice Meta coding questions
Longest Substring Without Repeating CharactersFree to read
Given a string s, find the length of the longest substring without repeating characters. Example 1: Input: s = "abcabcbb" Output: 3 Explanation: The longest substring is "abc". Example 2: Input: s = "bbbbb" Output: 1 Example 3: Input: s = "pwwkew" Output: 3 Explanation: The answer is "wke". Constraints: 1 <= s.length <= 10^5
13 more coding questions
- Binary Tree Maximum Path Sum Locked
- Group Anagrams Locked
- Invert Binary Tree Locked
- Median of Two Sorted Arrays Locked
- Merge k Sorted Lists Locked
- Merge Two Sorted Lists Locked
- Product of Array Except Self Locked
- Serialize and Deserialize Binary Tree Locked
- Trapping Rain Water Locked
- Two Sum Locked
- Valid Anagram Locked
- Check if Palindrome Locked
- Contains Duplicate Locked
Related pages
More Meta Senior EM rounds
- System design 9 questions
- Behavioral 20 questions
- Project retrospective 14 questions
Meta coding at other levels
Other companies at this level
- Airbnb Senior EM 4 questions
- Anthropic Senior EM 4 questions
- Apple Senior EM 4 questions
- Google Senior EM 14 questions
- LinkedIn Senior EM 4 questions
- Microsoft Senior EM 4 questions