Coding problems · by company style

13 Meta interview problems, solved step by step.

Meta’s coding rounds are known for two pointers, trees and arrays, often two problems in one round. These are the classic problems that practise that. No company publishes its questions; this is the practice set candidates commonly use. Each one is solved in 22 languages from brute force to optimal, with code you can run on the page.

0/13 solved
  1. Two SumEasy
  2. Valid PalindromeEasy
  3. Valid ParenthesesEasy
  4. Merge Two Sorted ListsEasy
  5. Maximum Depth of a Binary TreeEasy
  6. 3SumMedium
  7. Container With Most WaterMedium
  8. Merge IntervalsMedium
  9. Product of Array Except SelfMedium
  10. Binary Tree Level Order TraversalMedium
  11. Kth Largest Element in an ArrayMedium
  12. Top K Frequent ElementsMedium
  13. Number of IslandsMedium