META · CODING QUESTIONS

Meta coding interview questions

The data structures and algorithms questions candidates report from Meta interviews, linked to AlgoRung problems with an editor, hidden tests, an animated walkthrough and solutions in four languages. Most asked topics: Arrays & Hashing, Trees & BST, Graphs, Linked List.

From public candidate reports and Meta's careers pages, checked November 2026. Processes vary by team. AlgoRung is not affiliated with Meta.

All 14 reported Meta coding questions

Difficulty
Topic
14 questions
  1. Valid Word Abbreviation Easy Arrays & Hashing also LinkedIn
  2. Valid Palindrome II Easy Arrays & Hashing also Apple
  3. Subarray Sum Equals K Medium Arrays & Hashing also PhonePe
  4. Product of Array Except Self Medium Arrays & Hashing also Oracle
  5. Lowest Common Ancestor of a Binary Tree Medium Trees & BST also Google, Netflix, Atlassian +1
  6. Diameter of Binary Tree Easy Trees & BST also Adobe
  7. Copy List with Random Pointer Medium Linked List also Amazon, Microsoft
  8. Minimum Window Substring Hard Arrays & Hashing also Google, LinkedIn, Oracle
  9. Group Anagrams Medium Arrays & Hashing also Amazon, Oracle
  10. Number of Islands Medium Graphs also Amazon, Microsoft, Goldman Sachs +1
  11. Meeting Rooms II Medium Intervals also Amazon
  12. Alien Dictionary Hard Graphs also Amazon, Airbnb
  13. Serialize and Deserialize Binary Tree Hard Trees & BST also Amazon, LinkedIn, Oracle
  14. Basic Calculator Hard Stack
Also reported, not on AlgoRung yet (10)

Minimum Remove to Make Valid Parentheses · Binary Tree Vertical Order Traversal · Merge Sorted Array · K Closest Points to Origin · Range Sum of BST · Next Permutation · Integer to English Words · Validate IP Address · Clone Graph · Binary Search Tree Iterator

How the coding round is scored · The online assessment

Questions people ask

What coding questions does Meta ask?

Candidates most often report Valid Word Abbreviation, Valid Palindrome II, Subarray Sum Equals K, Product of Array Except Self, Lowest Common Ancestor of a Binary Tree. The full list of 14 reported questions is on this page, each linked to a practice problem with solutions.

Which topics should I study for the Meta coding interview?

arrays and strings, trees, graphs, hash maps, linked lists, stacks. A 45 to 60 minute live interview where you solve one or two data-structures-and-algorithms problems while explaining your thinking. Interviewers score problem solving, code quality, testing and communication.

How hard are Meta coding questions?

Of the reported questions on AlgoRung, 3 are easy, 7 medium and 4 hard. Expect mostly medium problems, with follow-ups that change a constraint.

Coding questions at other companies

Coding questions across all companies · Behavioral questions