Meta interview practice

Meta interview questions

147 questions; coding questions sorted by reports.

FastPrep has 111 coding questions tagged Meta, plus 32 system design, 2 low-level design and 2 project coding questions. Filter them by interview stage and open any one to practice it.

Questions
147 (111 coding, 36 design and project)
By stage
Online Assessment 4 · Phone Screen 60 · Onsite 66
Updated

Question list

All 111 Meta coding questions

Sorted by how many times each question was reported. Pick a stage to see only its questions.

Showing 111 of 111 Meta questions.

QuestionDifficultyStageReports
Rank Bipedal Dinosaurs by SpeedStringHash TableMediumPhone · Onsite6 reports · last Sep 2025
Minimum Removal for Balanced ParenthesesStringStackMediumPhone · Onsite5 reports · last Aug 2026
Validate a Palindrome After Limited DeletionsStringTwo PointersMediumPhone · Onsite4 reports · last Aug 2026
Sliding Window Average (Meta Canada, E4/E5 :)ArraySliding WindowEasyPhone · Onsite4 reports · last Jul 2025
Lowest Common Ancestor in a Binary TreeTreeDepth-First SearchMediumPhone · Onsite4 reports · last Feb 2025
Combine Two Vectors of Intervals (MLE) 🙌IntervalsTwo PointersMediumPhone · Onsite4 reports · last Feb 2024
Mutual-Friend RecommendationsArrayGraphMediumPhone · Onsite3 reports · last Nov 2026
Detect a Contiguous Subarray with Target SumArrayHash TableMediumPhone3 reports · last Aug 2026
Find and Reconstruct a Binary-Matrix PathArrayGraphMediumPhone · Onsite3 reports · last Aug 2026
Get Minimum Round Trip Cost (: for E4 && E5 :)ArrayGreedyMediumPhone · Onsite3 reports · last Jun 2025
Find an Equal-Sum SplitArrayPrefix SumEasyPhone3 reports · last Feb 2022
Valid Word AbbreviationStringTwo PointersEasyPhone2 reports · last Oct 2026
Deterministic K-Means AssignmentsArrayMathHardPhone · Onsite2 reports · last Sep 2026
Multi-Head Attention Forward PassMatrixSimulationHardPhone · Onsite2 reports · last Sep 2026
Count Subarrays with a Target SumArrayHash TableMediumPhone2 reports · last Aug 2026
Alert After Repeated Column Threshold BreachesStringSimulationMediumPhone2 reports · last Jun 2026
Merge Three Sorted ArraysArraySortingEasyPhone · Onsite2 reports · last May 2026
Meta Copy List with Random PointerLinked ListHash TableMediumPhone · Onsite2 reports · last Jan 2026
Meta LRU Cache OperationsHash TableLinked ListMediumOnsite2 reports · last Jan 2026
Find and Measure the Longest Target-Sum SubarrayArrayHash TableMediumOnsite2 reports · last Nov 2025
K Closest Points to the OriginArraySortingMediumOnsite2 reports · last Nov 2025
Canonical Directory After CD CommandsStringStackMediumPhone · Onsite2 reports · last Oct 2025
Add Decimal Strings ExactlyStringMathMediumPhone · Onsite2 reports · last Jul 2025
Binary Tree Vertical Order with Stable TiesTreeBreadth-First SearchMediumOnsite2 reports · last Jul 2025
Nested List Weight Sum (for E4)Depth-First SearchRecursionEasyPhone · Onsite2 reports · last Jun 2025
Find Peak ElementArrayBinary SearchMediumPhone2 reports · last Mar 2025
Minimum Valid Round-Trip FareArrayGreedyMediumPhone · Onsite2 reports · last Aug 2024
Best Time to Buy and Sell StockArrayDynamic ProgrammingEasyPhone1 report · last Nov 2026
First Element Greater Than KArrayBinary SearchEasyPhone1 report · last Nov 2026
Bank Accounts with Balance HistoryArrayHash TableMediumOA1 report · last Nov 2026
Count Events in Rolling Minute WindowsArrayDesignMediumPhone1 report · last Oct 2026
Shortest Path in a Binary MatrixMatrixBreadth-First SearchMediumPhone1 report · last Sep 2026
Linear Layer Forward and Backward PassesArrayMatrixMediumOnsite1 report · last Sep 2026
Reservoir Sampling with Recorded DrawsArrayMathMediumOnsite1 report · last Sep 2026
Stochastic Gradient Descent with MomentumArrayMatrixMediumOnsite1 report · last Sep 2026
Top K Largest Values with a HeapArrayHeapMediumOnsite1 report · last Sep 2026
Values Exclusive to the Current UserArrayHash TableEasyPhone1 report · last Sep 2026
First Bad Version in a Monotone ArrayArrayBinary SearchEasyPhone1 report · last Sep 2026
Parenthesized String CalculatorRecursionStackMediumPhone1 report · last Sep 2026
Partition a Card Deck into FifteensBacktrackingDynamic ProgrammingHardOnsite1 report · last Sep 2026
In-Memory Database with Historical Field LookupDesignHash TableHardOA1 report · last Sep 2026
Insert into a Sorted Circular ListLinked ListArrayMediumOnsite1 report · last Aug 2026
Maximum Stock Profit with Transaction LimitsArrayDynamic ProgrammingMediumOnsite1 report · last Aug 2026
Minimum Time to Complete Target CoursesGraphTopological SortMediumOnsite1 report · last Aug 2026
Mouse and Cheese ReachabilityGraphBreadth-First SearchMediumOnsite1 report · last Aug 2026
Repeated BST Range Sum and AverageTreePrefix SumMediumOnsite1 report · last Aug 2026
Select a City by Population WeightArrayPrefix SumMediumPhone1 report · last Aug 2026
Sparse Vector Dot Product from TuplesArrayTwo PointersEasyOnsite1 report · last Aug 2026
Word Break with a Reusable DictionaryStringDynamic ProgrammingMediumOnsite1 report · last Aug 2026
First Common Ancestor with Parent PointersTreeTwo PointersEasyPhone1 report · last Aug 2026
Maximum Unique-Character Word SubsetArrayStringMediumOnsite1 report · last Aug 2026
Minimum-Sum Root-to-Leaf PathTreeDepth-First SearchMediumOnsite1 report · last Aug 2026
Find a Deterministic Local MinimumArrayBinary SearchMediumOnsite1 report · last Aug 2026
Query Whether an Island Size ExistsArrayHash TableMediumOnsite1 report · last Aug 2026
Sum Root-to-Leaf NumbersTreeDepth-First SearchMediumOnsite1 report · last Aug 2026
Plan a Minimum-Cost Round TripArrayGreedyMediumOnsite1 report · last Jul 2026
Evaluate a Flat Expression or Report Invalid InputStringMathMediumPhone1 report · last Jun 2026
Longest Word Containing Another InputArrayStringHardPhone · Onsite1 report · last May 2026
Candy Crush Board Until StableMatrixSimulationMediumOnsite1 report · last Apr 2026
Rolling-Ball Maze ReachabilityMatrixGraphMediumOnsite1 report · last Apr 2026
Sparse Matrix Multiplication in COO FormMatrixHash TableMediumPhone1 report · last Apr 2026
Through-Origin Linear RegressionMathArrayEasyPhone1 report · last Apr 2026
Issue and Reuse 16-Bit TokensArrayHeapMediumOnsite1 report · last Nov 2025
Kth Largest Element: Return Its Original IndexArraySortingMediumOnsite1 report · last Nov 2025
Common Words Across FilesHash TableStringMediumPhone1 report · last Sep 2025
Diameter of a Binary TreeTreeDepth-First SearchEasyOnsite1 report · last Sep 2025
Signed Digit Partitions Reaching a TargetStringBacktrackingHardPhone1 report · last Jul 2025
Intersect Two Sorted Interval ListsArrayTwo PointersMediumOnsite1 report · last Jun 2025
Minimum Flood Level to Disconnect a GridGraphBinary SearchMediumOnsite1 report · last Jun 2025
Valid PalindromeStringTwo PointersEasyOnsite1 report · last May 2025
Diagonal Traverse (for E4 ;)MatrixSimulationMediumPhone1 report · last Mar 2025
Find Pair Closest to K (for E5 :)ArrayTwo PointersEasyPhone1 report · last Feb 2025
Max Consecutive Ones III (for E5 :)ArraySliding WindowMediumPhone1 report · last Feb 2025
Making a Large IslandGraphMatrixHardOnsite1 report · last Feb 2025
Next PermutationArrayTwo PointersMediumPhone1 report · last Feb 2025
Randomly Select a Maximum-Value IndexArrayMathMediumOnsite1 report · last Feb 2025
Top Five Stories by Latest PopularityHash TableSortingMediumPhone1 report · last Feb 2025
Count Centaur Friend RequestsArraySortingMediumPhone1 report · last Dec 2024
Top N Frequent Words in a FileStringHash TableMediumPhone1 report · last Dec 2024
Minimum-Weight Path Through a MatrixGraphShortest PathMediumOnsite1 report · last Aug 2024
Sum Root-to-Leaf Node ValuesTreeDepth-First SearchMediumOnsite1 report · last Aug 2024
Cave AdvantureMatrixDepth-First SearchHardOA1 report · last May 2024
Kth Missing Positive Number (for E4 :)ArrayBinary SearchEasyPhone1 report · last Mar 2024
Smallest Point with Maximum Interval CoverageArraySortingMediumOnsite1 report · last Mar 2024
Closest Land Mark 👏MathEasyOA1 report · last Feb 2024
Valid ParenthesesStringStackEasyPhone1 report · last Jan 2024
Random Pick with Weight Using Recorded DrawsArrayPrefix SumMediumPhone1 report · last Nov 2023
Buildings with an Ocean ViewArrayMediumPhone1 report · last Sep 2022
Range Sum of BSTTreeDepth-First SearchEasyPhone1 report · last Sep 2022
Linked List Palindrome in Constant SpaceLinked ListTwo PointersEasyPhone1 report · last Apr 2022
Continuous Subarray Sum MultipleArrayHash TableMediumPhone1 report · last Dec 2021
Insert a Closed IntervalArrayMediumPhone1 report · last Dec 2021
Space-Bounded Kth Largest ElementHeapArrayMediumPhone1 report · last Dec 2021
Vertical Tree Traversal with Value TiesTreeSortingHardPhone1 report · last Dec 2021
Count Word Break SentencesDynamic ProgrammingStringMediumPhone1 report · last Jun 2021
Find a Word in a Letter GridMatrixDepth-First SearchMediumOnsite1 report · last May 2021
Game of Life: Next GenerationMatrixSimulationMediumOnsite1 report · last May 2021
Reconstruct an ItineraryGraphDepth-First SearchHardOnsite1 report · last May 2021
Course Schedule II: Return a Course OrderGraphTopological SortMediumOnsite1 report · last Apr 2021
Insert a Value at a Linked List PositionLinked ListEasyOnsite1 report · last Apr 2021
Maximum Subtree SumTreeDepth-First SearchMediumOnsite1 report · last Apr 2021
Top K Frequent IntegersArrayHash TableMediumOnsite1 report · last Apr 2021
Word Break: Construct One SentenceStringDynamic ProgrammingMediumOnsite1 report · last Apr 2021
Merge Overlapping IntervalsArraySortingMediumPhone1 report · last Feb 2021
Validate a Strict Binary Search TreeTreeDepth-First SearchMediumPhone1 report · last Feb 2021
Custom Sort a StringStringCombinatoricsMediumPhone1 report · last Dec 2020
Evaluate Addition and MultiplicationStringMathMediumOnsite1 report · last Jun 2020
Find the First Anagram Start IndexStringHash TableMediumPhone · Onsite1 report · last Jun 2020
Iterative Depth-First SearchGraphDepth-First SearchMediumOnsite1 report · last Jun 2020
Maximum Value at Each Tree LevelTreeBreadth-First SearchMediumOnsite1 report · last Jun 2020
Uniformly Sample a Node from a Large TreeTreeDepth-First SearchMediumOnsite1 report · last Jun 2020

At a glance

Meta interview process

FastPrep has 111 Meta coding interview questions: 4 questions from the online assessment (OA), 60 questions from phone screens and 66 questions from onsite rounds. A question can be reported in more than one stage. Most are medium (80 medium, 21 easy and 10 hard). The most common topics are Array, Hash Table, String, Depth-First Search and Matrix. The latest report is from Nov 2026.

  • Online Assessment

    4 questions · 2 hard, 1 easy and 1 medium

    Topics: Binary Search, Design and Hash Table

    Latest report: Nov 2026

  • Phone Screen

    60 questions · 39 medium, 16 easy and 5 hard

    Topics: Array, String and Hash Table

    Latest report: Nov 2026

  • Onsite

    66 questions · 53 medium, 7 easy and 6 hard

    Topics: Array, Depth-First Search and Hash Table

    Latest report: Nov 2026

By stage and level

Meta questions by stage and level

01 · Preparation plan

Choose representations that simplify the proof.

The Meta collection supports practice in both compact algorithm reasoning and larger technical design. Begin with data representation: prefix sums for ranges, sparse tuples for vectors, and pointer invariants for cyclic lists. The goal is to explain why the representation works, not memorize a predicted question list. This is a suggested practice order, not Meta's interview process. Your invitation and recruiter come first.

  1. 01

    Turn subarray sums into prior-state lookups

    Use contiguous target-sum detection to derive the relationship between two prefix sums. Explain why a sliding window may be inappropriate when negative values are allowed.

    • Define the prefix sum before the first element.
    • Test zero targets and negative numbers.
    • Distinguish existence, counting, and index-returning variants.
    Practice: Detect a Contiguous Subarray with Target Sum
  2. 02

    Exploit sparsity without changing meaning

    The sparse-vector exercise rewards choosing between two pointers and indexed lookup based on the input representation. Justify the choice using the number of nonzero entries.

    • Clarify whether tuples are sorted and indices unique.
    • Avoid materializing the dense vector.
    • State complexity in terms of sparse input sizes.
    Practice: Sparse Vector Dot Product from Tuples
  3. 03

    Preserve a circular-list invariant

    Use sorted circular insertion to reason about ordinary positions, the wraparound point, and a list where every value is equal. A correct stopping rule matters as much as insertion.

    • Trace insertion before and after the largest value.
    • Test an empty list and one repeated-value cycle.
    • Prove traversal terminates after at most one cycle.
    Practice: Insert into a Sorted Circular List

02 · Design and project questions

36 Meta design and project questions

Beyond coding questions, FastPrep has 32 system design, 2 low-level design and 2 project coding questions tagged Meta.

System designLast reported Nov 2026

Design a Cloud File Storage System

Design a Drive-like service for durable, chunked file storage, sharing, versions, and multi-device synchronization. Audit a first-letter photo placement plan and its database-cost drivers.

Practice
System designLast reported Nov 2026

Design a Personalized Recommendation System

Design event ingestion, candidate retrieval, ranking, and serving for a bounded personalized user-item catalog.

Practice
System designLast reported Nov 2026

Design an Agentic Support Ticket Triage System

Let an AI agent investigate each new support ticket with read-only tools and set its category, priority, team queue and links, sending uncertain cases to people, never overwriting a person's change, and keeping every ticket within a 10-minute triage target through an outage-sized surge and a fixed model quota.

Practice
System designLast reported Nov 2026

Design Friend-Shared Charts for a Music Player

Turn every counted play into each listener's weekly top-10 chart, let listeners share their charts with friends, and build a combined friends chart, while a chart stops being visible to a person within a minute of sharing being turned off or the friendship ending.

Practice
Project codingLast reported Nov 2026

Repair and Extend a Maze Solver

Repair a maze codebase, then add one-way movement and matching keys and doors.

Practice
System designLast reported Nov 2026

Design a Following News Feed Service

Design a scalable reverse-chronological feed for posts from authors a user currently follows.

Practice
System designLast reported Nov 2026

Design an Ad Event Measurement Platform

Design a reliable event-time pipeline that ingests ad events and serves reproducible per-ad and campaign analytics despite duplicates, late data, and replay.

Practice
System designLast reported Nov 2026

Design Video Copyright Matching Against a Reference Library

Check every uploaded video against a library of copyrighted reference videos, find copied segments even when the two videos have very different lengths, and apply the rights holder's policy with a dispute path.

Practice
System designLast reported Nov 2026

Design Weapon-Sale Ad Detection and Review

Detect sale intent for prohibited weapon advertisements with reliable labels, bounded review, and safe enforcement.

Practice
System designLast reported Nov 2026

Design a Ticket Booking System

Design the catalog, availability, pricing, reservation, and payment path for a high-demand movie and event ticketing platform.

Practice
System designLast reported Oct 2026

Design Ride-Hailing Dispatch and Trip Lifecycle

Design the data model and regional services that match riders with nearby drivers while preserving a single active assignment.

Practice
System designLast reported Oct 2026

Design a Backend Search Engine

Design a multi-tenant backend that ingests versioned documents and serves low-latency text search with filters, stable pagination, and safe index rebuilds.

Practice
System designLast reported Sep 2026

Design Real-Time Chatbot Training and Evaluation

Serve conversational answers while building a versioned, auditable data and reinforcement-learning evaluation loop.

Practice
System designLast reported Sep 2026

Design a Social Game Score Leaderboard

Maintain per-game high scores, show exact global rank after a game, and find nearby global or friend scores under heavy skew.

Practice
System designLast reported Aug 2026

Design an Online Coding Practice Platform

Design a versioned programming-problem catalog and a safe asynchronous judge that produces reproducible submission verdicts.

Practice
System designLast reported Aug 2026

Design a Boolean Status Search Index

Design an unranked AND/OR text-search service over continuously ingested user statuses.

Practice
Project codingLast reported Aug 2026

Build an In-Memory Cloud Storage System

Implement prefix-based largest-file queries on top of an in-memory file store.

Practice
System designLast reported Aug 2026

Design a Multimodal Public-Content Safety Platform

Design a near-real-time platform that evaluates multilingual public posts across text, image, video, and audio and enforces weapon-safety decisions.

Practice
Low-level designLast reported Jul 2026

Design and Implement an In-Memory Tally Service

Design a thread-safe, bounded-memory counter that records timestamped events and answers exact inclusive range queries quickly.

Practice
System designLast reported Jun 2026

Design a Code-Generation Language Model

Build, evaluate and serve a versioned code model that offers a bounded function implementation for developer review.

Practice
System designLast reported Jun 2026

Design a Live-Session Conversational Chatbot

Design live, ordered chatbot sessions for one customer organization and one application domain, with isolated user context and controlled model releases.

Practice
System designLast reported Apr 2026

Design a Six-Month Like Signal for Feed Scoring

Add a point-in-time post-like-history feature to an existing feed scorer and explain offline versus online results.

Practice
System designLast reported Apr 2026

Design an Account Risk Detection and Learning Pipeline

Build account-level risk scores and a review-driven learning loop with honest evaluation under selective, delayed labels.

Practice
System designLast reported Apr 2026

Design an Event Attendance Prediction Service

Predict confirmed attendance for an eligible viewer and upcoming event using auditable outcomes and point-in-time features.

Practice
System designLast reported Apr 2026

Design Feed Dislike Prediction

Predict explicit negative feedback for proposed feed exposures with honest labels, calibrated probabilities and reproducible training and serving.

Practice
System designLast reported Apr 2026

Design Place Recommendations for a Moving User

Retrieve and rank nearby eligible places for personalized mobile discovery while location, place state and feedback change.

Practice
System designLast reported Apr 2026

Design Regional Image Copy and Rights Detection

Detect transformed whole-image and regional copies, learn robust localized representations and check recorded uploader rights before requesting review.

Practice
System designLast reported Dec 2025

Design a Short-Video Sharing Platform

Design durable short-video upload and processing, ranked feed generation, and low-latency global playback.

Practice
System designLast reported Dec 2025

Design a General-Purpose Content Embedding Platform

Build and release versioned content embeddings that classification, recommendation, and semantic search can use consistently.

Practice
System designLast reported Nov 2025

Design a Learned Candidate Ranking Service

Design an online ranker and its model lifecycle for caller-supplied candidates.

Practice
Low-level designLast reported Sep 2025

Design a Discussion Forum with Posts and Votes

Model a small discussion forum with post creation, nested replies and per-user votes that remain correct under retries and concurrent changes.

Practice
System designLast reported May 2025

Multi-Datacenter Kernel Upgrade Pipeline

Design a kernel build-and-validation pipeline and a controlled fleet rollout that preserves capacity and proves which kernel each host actually boots.

Practice
System designLast reported Apr 2022

Design a Global Most-Listened Songs Leaderboard

Count qualified song listens once at high write volume and publish an exact global top ten with bounded freshness.

Practice
System designLast reported Apr 2022

Design a Human-Detection Video Data Pipeline

Gather and evaluate representative camera clips for a person detector that controls notifications.

Practice
System designLast reported Apr 2022

Select and Improve a Short-Audio Speech Recognizer

Compare four ASR architectures for ten-second recordings, then diagnose training and held-out errors before a safe model release.

Practice
System designLast reported Jun 2020

Design Offensive Ad Content Detection

Detect policy-offensive text and image ads, withstand evasive creative changes, and keep review and delivery decisions safe.

Practice

03 · About these questions

Where these Meta questions come from

Each question on this page is tagged Meta in FastPrep's problem bank. The report count and month show how often and how recently it was reported from Meta interviews.

Past reports help you choose what to practice first. They can't tell you which questions, format or platform your own interview will use.

  • Only questions tagged Meta appear on this page.
  • Each coding question shows its stage and last report date when known.
  • These are not official, private or leaked Meta questions.

04 · FAQ

Meta interview questions: FAQ

For hiring news and timelines, see the Meta hiring insights page.

01What are the stages of the Meta interview?

The 111 Meta coding questions on FastPrep come from the online assessment (4 questions), phone screens (60 questions) and onsite rounds (66 questions). Some questions were reported in more than one stage. Stages differ by role, level and date, so check your invitation for your own process.

02What does the Meta OA look like?

4 of the 111 Meta coding questions on FastPrep come from the online assessment. By difficulty: 2 hard, 1 easy and 1 medium. Common OA topics: Binary Search, Design and Hash Table. The latest OA report is from Nov 2026.

03How hard is the Meta interview?

Most Meta coding questions on FastPrep are medium. By difficulty, the 111 rated questions are 80 medium, 21 easy and 10 hard.

04What topics come up in Meta coding interviews?

Across 111 Meta coding questions, the most common topics are Array (52 questions), Hash Table (23 questions), String (22 questions), Depth-First Search (19 questions) and Matrix (15 questions).

05What are the most asked Meta interview questions?

The most reported questions are “Rank Bipedal Dinosaurs by Speed” (6 reports), “Minimum Removal for Balanced Parentheses” (5 reports) and “Validate a Palindrome After Limited Deletions” (4 reports).

06Are Facebook and Meta separate interview question banks here?

This page is the owner for Meta coding practice, including the common Facebook wording used by candidates. It does not create duplicate pages for the two names. Reported exercises remain a practice sample rather than a complete or current employer question bank, and role-specific process guidance must come from the employer.

07Is FastPrep affiliated with Meta?

No. FastPrep is an independent interview prep site and is not affiliated with Meta. These are practice questions from FastPrep's problem bank, not official, private or leaked Meta questions.

08How do you know which stage a Meta question is from?

Each question's stage comes from the reports behind it. A question can be reported from more than one stage, and the process can change by role, level, location and year, so treat the stage as a guide, not a promise.

09Which Meta interview stage should I practice first?

The stage named in your invitation or recruiter message. If you don't know the stage yet, start with the stage that has the most questions, then practice explaining and testing your code out loud.

10Can this page tell me exactly what my Meta interview will ask?

No. Report counts, stages and dates show what came up before and help you choose what to practice first. They can't predict the questions, order, timing or platform of your own interview.

Next step

Pick a question. Solve it end to end.

Start with the stage named in your invitation. Past reports show what came up before, not what you will be asked.

Back to the question list