YourAlly

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

  1. Binary Tree Maximum Path Sum Locked
  2. Group Anagrams Locked
  3. Longest Substring Without Repeating Characters Locked
  4. Median of Two Sorted Arrays Locked
  5. Merge k Sorted Lists Locked
  6. Merge Two Sorted Lists Locked
  7. Product of Array Except Self Locked
  8. Serialize and Deserialize Binary Tree Locked
  9. Trapping Rain Water Locked
  10. Two Sum Locked
  11. Valid Anagram Locked
  12. Check if Palindrome Locked
  13. Contains Duplicate Locked

Sign up free to practice all 14

Related pages

More Meta E7 rounds

Meta coding at other levels

Other companies at this level

Company guide

Meta interview guide in Academy