Meta Interview 2025


Most people suggests keeping interview every year to make sure you have the ability to find a better job, especially when you’re fired.

This should be the 3rd or 4th times to interview Facebook/Meta. Without surprise, I fail again. But I feel much better because I didn’t expect anything in the beginning. I don’t think I’m ready to join Meta, especially many people mention the survival rate as L6 in Meta is very low. I just told myself it’s another try to learn something.

Here briefly records my interview process and some thoughts. I could not leak the interview questions, but I list all the leetcode problems with Meta tag based on https://www.1point3acres.com/bbs/thread-1117997-1-1.html.

First Interview

I was contacted by the Meta recruiter because I was interviewed 2023. I didn’t try Meta 2024 even I was contacted too, because I didn’t have plan to join Meta. This year is the same, but I want to know my interview skill, so I decided to try.

In the first interview(45min), I met a nice guy, who has soft voice. I was asked 2 easy Leetcode questions. I quickly hacked the first question. I hack the second question too, but not the optimal solution. Fortunately I passed the first interview. So I scheduled the onsite interview in 4 weeks later.

In the last 5mins of the interview, I’m asking one question, what’s the point if the leetcode question could not figure out if the candidate is great in the daily job, because Meta keeps laying off low performance employees? He just answered this was still the best way before they figured out a better way.

Virtual Onsite

Virtual onsite interviews still have 5 sessions, but were scheduled in 2 days. Sessions 1-3 were in the first day, another 2 sessions were in the second day.

Session 1: Coding

This interviewer is a nice guy, polite and warm. Try to discuss the problem, not challege the interviewee. I got 2 Leetcode Medium problems.

Session 2: System Design

A Chinese interviewer, who is aggresive and challenge interviewee all the time. I didn’t like him. I feel I should be failed by this guy. His design question was a bad example when I was trained as interviewer in Uber. For example, design a system like Uber. This kind of design question is meaningless, because Uber has a lot of systems, do you want to design booking, login, tracking, payment, etc. So the design question should be specific.

So I ask some questions, then he mentioned some key requirements to make the scope clear. Of course the interview question is not design Uber, but it’s design XXX.

I provided one client heavy solution, but avoid server side complexity, which is not expected by the interviewer, but it works, even works without big problem from scaling thousands users to million users, because it doesn’t need to worry about server scaling up. The client logic is not too complex.

It seems the interviewer is not familiar with the client, so it’s very surprised for him. But he didn’t guide me to the server solution, so he could not ask more deeper questions. But the interview session is finished 10 mins earlier, not 5 mins as other sessions. I felt we both want to finish the unhappy discussion as soon as possible.

Session 3: Coding

It is a Chinese interviewer too, but this guy is much nice. It seems we were discussing something. If I didn’t provide his expected answers, he would provide some hints to lead me to the right direction he wanted.

The first question is easier, but we discuss some time and space complexity in the recursive solution. Then I changed the recursive to while-loop solution. Actually I know the optimal solution, I should go for it directly, then I will not waste time in the time/space complexity discussion, especially which shows I’m not very familiar with the O(n) calculation. In the end, I provided right answers with his hints.

The second question is a hard question. I didn’t finish it, but provide some key points like BFS idea, and implemented the BFS.

Session 4: Product Design

The last product design discussion had a broader scope, including metrics definition. This time, the focus is narrowed to system design, specifically looking at the system’s architecture and boundaries (breadth of components and connections) rather than implementation depth, no product idea and strategy questions.

This interviewer was nice too.

Session 5: Behavior

Another nice interviewer, who is a researcher and should has higher level. Just follow the STAR rules to answer different questions. It’s a nice discussion and we can learn from each other. Usually the higher position person, the more humble and nicer.

The better interviewer tries to find your shining part and hope your interview successful.

LeetCode Problems Asked By Meta

All the interview questions are from Leetcode, so please practise as many as possible if you really want to get the Meta position. All these problems are from https://www.1point3acres.com/bbs/thread-1117997-1-1.html.

  1. Merge Sorted Array Easy.
  2. Diameter of Binary Tree Easy
  3. Merge Intervals Med
  4. Max Consecutive Ones III Med
  5. Fibonacci Number Easy
  6. Shortest Distance from All Buildings Hard
  7. Minimum Remove to Make Valid Parentheses Med
  8. Valid Word Abbreviation Easy
  9. Binary Tree Right Side View Med.
  10. Kth Largest Element in an Array Med
  11. Valid Palindrome II Easy
  12. Subarray Sum Equals K Med
  13. Binary Tree Vertical Order Traversal Med
  14. Buildings With an Ocean View Med
  15. Valid Palindrome Easy
  16. Basic Calculator II Med
  17. Lowest Common Ancestor of a Binary Tree III Med.
  18. Pow(x, n) Med
  19. Nested List Weight Sum Med
  20. Lowest Common Ancestor of a Binary Tree Med.
  21. Two Sum Easy
  22. Random Pick with Weight Med.
  23. Shortest Path in Binary Matrix Med
  24. Top K Frequent Elements Med
  25. LRU Cache Med
  26. Making A Large Island Hard
  27. Moving Average from Data Stream Easy
  28. K Closest Points to Origin Med
  29. Sum Root to Leaf Numbers Med
  30. Copy List with Random Pointer Med
  31. Merge k Sorted Lists Hard.
  32. Find First and Last Position of Element in Sorted Array Med
  33. Simplify Path Med.
  34. Kth Missing Positive Number Easy
  35. Best Time to Buy and Sell Stock Easy
  36. Find Peak Element Med.–
  37. Dot Product of Two Sparse Vectors Med
  38. Next Permutation Med. Waral dи,
  39. Minimum Window Substring Hard
  40. Clone Graph Med
  41. All Nodes Distance K in Binary Tree Med. —-
  42. Minimum Add to Make Parentheses Valid Med
  43. Range Sum of BST Easy
  44. Group Shifted Strings Med
  45. Custom Sort String Med
  46. Continuous Subarray Sum Med.
  47. Sliding Window Median Hard. Frombbs
  48. Diagonal Traverse Med
  49. Interval List Intersections Med
  50. Vertical Order Traversal of a Binary Tree Hard
  51. Valid Parentheses Easy
  52. Exclusive Time of Functions Med ..
  53. Maximum Swap Med
  54. Course Schedule Med.
  55. Insert into a Sorted Circular Linked List Med
  56. Expression Add Operators Hard
  57. 3Sum Med
  58. Remove Nth Node From End of List Med
  59. Construct Binary Tree from String Med.
  60. Set Matrix Zeroes Med
  61. Remove Invalid Parentheses Hard
  62. Robot Room Cleaner Hard
  63. Merge Strings Alternately Easy.
  64. String to Integer (atoi) Med
  65. Remove All Adjacent Duplicates In String Easy
  66. Word Ladder II Hard
  67. Word Ladder Hard
  68. Maximum Average Subarray I Easy
  69. Number of Islands Med
  70. Find Pivot Index Easy
  71. Contains Duplicate II Easy
  72. Lowest Common Ancestor of a Binary Search Tree Med
  73. Convert Binary Search Tree to Sorted Doubly Linked List Med.
  74. Create Hello World Function Easy
  75. Meeting Rooms II Med
  76. Closest Binary Search Tree Value Easy
  77. Find Median from Data Stream Hard
  78. Design Tic-Tac-Toe Med
  79. Add Strings Easy
  80. Check Completeness of a Binary Tree Med
  81. Longest Substring Without Repeating Characters Med
  82. Median of Two Sorted Arrays Hard
  83. Search in Rotated Sorted Array Med
  84. Maximum Subarray Med
  85. Valid Number Hard
  86. Add Binary Easy.
  87. Climbing Stairs Easy
  88. Valid Palindrome III Hard.
  89. Toeplitz Matrix Easy
  90. Recyclable and Low Fat Products Easy
  91. Random Pick Index Med
  92. Cutting Ribbons Med
  93. Add Two Numbers Med
  94. Longest Palindromic Substring Med
  95. Longest Common Prefix Easy.
  96. Remove Duplicates from Sorted Array Easy.
  97. Can Place Flowers Easy
  98. Binary Tree Inorder Traversal Easy
  99. Put Marbles in Bags Hard
  100. Binary Tree Maximum Path Sum Hard
  101. Palindromic Substrings Med
  102. Car Pooling Med
  103. Rotate Array Med
  104. Happy Number Easy
  105. Product of Array Except Self Med
  106. Alien Dictionary Hard
  107. Letter Case Permutation Med
  108. Count Nodes Equal to Average of Subtree Med
  109. Add Two Integers Easy
  110. Goat Latin Easy
  111. Friends Of Appropriate Ages Med
  112. Kth Smallest Element in a Sorted Matrix Med
  113. Evaluate Division Med
  114. Longest Nice Subarray Med
  115. Squares of a Sorted Array Easy
  116. Palindrome Number Easy
  117. Minesweeper Med
  118. Minimum Time to Collect All Apples in a Tree Med.
  119. Generate Parentheses Med
  120. Remove Element Easy
  121. Missing Element in Sorted Array Med
  122. Trapping Rain Water Hard
  123. Next Greater Element III Med
  124. Group Anagrams Med
  125. Longest Subarray of 1’s After Deleting One Element Med. Frombbs
  126. Jump Game Med
  127. Length of Last Word Easy
  128. Unique Paths Med
  129. Plus One Easy
  130. Minimum Number of Days to Make m Bouquets Med
  131. Minimum Number of Operations to Make Elements in Array Distinct Easy
  132. Search a 2D Matrix Med
  133. Validate Binary Search Tree Med
  134. Symmetric Tree Easy
  135. Populating Next Right Pointers in Each Node Med
  136. Best Time to Buy and Sell Stock II Med
  137. Best Time to Buy and Sell Stock III Hard
  138. Sort List Med
  139. Max Points on a Line Hard
  140. Find K Closest Elements Med.
  141. Missing Ranges Easy
  142. Valid Parenthesis String Med
  143. Two Sum II - Input Array Is Sorted Med
  144. Majority Element Easy
  145. Binary Search Tree Iterator Med
  146. Max Area of Island Med.
  147. Maximum Nesting Depth of the Parentheses Easy
  148. Max Stack Hard
  149. Accounts Merge Med
  150. Solving Questions With Brainpower Med.
  151. Valid Anagram Easy
  152. Strobogrammatic Number Easy
  153. Strobogrammatic Number II Med
  154. Minimum Average Difference Med
  155. Binary Tree Pruning Med
  156. Odd Even Linked List Med
  157. Reconstruct Itinerary Hard
  158. Largest Divisible Subset Med. Χ
  159. Koko Eating Bananas Med
  160. Generate Random Point in a Circle Med.
  161. Split Array Largest Sum Hard
  162. Longest Repeating Character Replacement Med
  163. Rotating the Box Med
  164. Maximum Population Year Easy
  165. Shortest Bridge Med
  166. Max Consecutive Ones Easy
  167. Target Sum Med
  168. Create a DataFrame from List Easy