Meta E7 coding interview questions
These are the 14 coding questions YourAlly has tagged for Meta at E7. Meta E7 is Senior Staff Software Engineer. YourAlly treats it as Senior staff, the same level as Google L7 and Amazon L8.
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. At this level coding is often a smaller part of the loop, but the bar for clarity and speed stays high.
Practice a mock Meta E7 coding loopPractice Meta coding questions
Invert Binary TreeFree to read
Given the root of a binary tree, invert the tree (mirror it), and return its root.
Example 1: Input: root = [4,2,7,1,3,6,9] Output: [4,7,2,9,6,3,1]
Example 2: Input: root = [2,1,3] Output: [2,3,1]
Constraints: 0 <= number of nodes <= 200000 -100 <= Node.val <= 100
13 more coding questions
- Binary Tree Maximum Path Sum Locked
- Group Anagrams Locked
- Longest Substring Without Repeating Characters 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 E7 rounds
- System design 9 questions
- Behavioral 34 questions
- Project retrospective 14 questions
Meta coding at other levels
Other companies at this level
- Adobe Senior staff 4 questions
- Airbnb Senior staff 4 questions
- Amazon L8 6 questions
- Anthropic Senior staff 5 questions
- Apple Senior staff 7 questions
- Cisco Senior staff 3 questions