Meta Coding Interview Questions
32 Meta coding interview problems with full optimal solutions — 5 easy, 23 medium, 4 hard. Every problem ships with multiple approaches (brute-force first, then the optimal), complexity tables for each, company-specific tips on what an Meta interviewer values, and a FAQ section.
Showing 5 problems of 32
- #27easyfoundational
27. Valid Word Abbreviation
Check if a numeric abbreviation is valid for a word — Meta's search autocomplete and username compression features depend on this two-pointer string matching to validate user-typed abbreviations instantly.
- #67easyfoundational
67. Add Binary
Given two binary strings, return their sum as a binary string. Meta asks this to test whether you can simulate column addition without converting to integers (numbers can exceed int64).
- #125easyfoundational
125. Valid Palindrome
Given a string, return true if it's a palindrome after lowercasing and ignoring non-alphanumeric characters. Meta asks this to test whether you reach for the two-pointer in-place approach instead of building a cleaned copy of the string.
- #543easyfrequently asked
543. Diameter of Binary Tree
Return the length of the longest path between any two nodes in a binary tree. Meta asks this to test whether you grasp the dual-return-vs-side-effect pattern in tree recursion — same shape as Binary Tree Maximum Path Sum but easier numbers.
- #680easycompany favorite
680. Valid Palindrome II
Given a string, return true if you can make it a palindrome by deleting at most one character. Meta asks this to test whether you can adapt the two-pointer palindrome check to branch on a single mismatch without recursing or losing O(n) time.
Related interview-prep guides
HireVue Tech Interview Guide: The 2026 Playbook for Async Video Rounds
HireVue is the category-leading async video interview platform. Candidates record answers solo, on the clock, and a combined AI-plus-human review layer scores the recording days later. For 2026 tech jobseekers, the format is different enough from live interviews to need its own playbook. This guide is that playbook.
CodeSignal GCA for Tech Interviews in 2026: The Complete Guide
The CodeSignal General Coding Assessment is a 70-minute, four-task timed test scored on a 600 to 850 scale, used as a filter by Goldman Sachs, Capital One, Robinhood, Brex, and a growing list of tech and finance employers. This guide breaks down what it tests, how it scores, what it tracks during your session, and how a modern desktop setup pairs with it without showing up in proctored recordings.
CoderPad Live Coding Interview Guide (2026): What the Pad Tracks and How to Walk Through It Cleanly
CoderPad is the default live-coding environment for human-led technical interviews in 2026. Used by YC startups, FAANG-tier teams, and most of the tech mid-market. The pad records every keystroke, every paste event, every language switch, and offers an interviewer scrub-back feature most candidates never realize exists. This is what CoderPad tracks, how the live session compares to async assessments, and how a modern desktop AI setup pairs with it without showing up in the screen-share.