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.
PracticeMeta interview practice
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.
Question list
Sorted by how many times each question was reported. Pick a stage to see only its questions.
Showing 111 of 111 Meta questions.
| Question | Difficulty | Stage | Reports |
|---|---|---|---|
| Rank Bipedal Dinosaurs by SpeedStringHash Table | Medium | Phone · Onsite | 6 reports · last Sep 2025 |
| Minimum Removal for Balanced ParenthesesStringStack | Medium | Phone · Onsite | 5 reports · last Aug 2026 |
| Validate a Palindrome After Limited DeletionsStringTwo Pointers | Medium | Phone · Onsite | 4 reports · last Aug 2026 |
| Sliding Window Average (Meta Canada, E4/E5 :)ArraySliding Window | Easy | Phone · Onsite | 4 reports · last Jul 2025 |
| Lowest Common Ancestor in a Binary TreeTreeDepth-First Search | Medium | Phone · Onsite | 4 reports · last Feb 2025 |
| Combine Two Vectors of Intervals (MLE) 🙌IntervalsTwo Pointers | Medium | Phone · Onsite | 4 reports · last Feb 2024 |
| Mutual-Friend RecommendationsArrayGraph | Medium | Phone · Onsite | 3 reports · last Nov 2026 |
| Detect a Contiguous Subarray with Target SumArrayHash Table | Medium | Phone | 3 reports · last Aug 2026 |
| Find and Reconstruct a Binary-Matrix PathArrayGraph | Medium | Phone · Onsite | 3 reports · last Aug 2026 |
| Get Minimum Round Trip Cost (: for E4 && E5 :)ArrayGreedy | Medium | Phone · Onsite | 3 reports · last Jun 2025 |
| Find an Equal-Sum SplitArrayPrefix Sum | Easy | Phone | 3 reports · last Feb 2022 |
| Valid Word AbbreviationStringTwo Pointers | Easy | Phone | 2 reports · last Oct 2026 |
| Deterministic K-Means AssignmentsArrayMath | Hard | Phone · Onsite | 2 reports · last Sep 2026 |
| Multi-Head Attention Forward PassMatrixSimulation | Hard | Phone · Onsite | 2 reports · last Sep 2026 |
| Count Subarrays with a Target SumArrayHash Table | Medium | Phone | 2 reports · last Aug 2026 |
| Alert After Repeated Column Threshold BreachesStringSimulation | Medium | Phone | 2 reports · last Jun 2026 |
| Merge Three Sorted ArraysArraySorting | Easy | Phone · Onsite | 2 reports · last May 2026 |
| Meta Copy List with Random PointerLinked ListHash Table | Medium | Phone · Onsite | 2 reports · last Jan 2026 |
| Meta LRU Cache OperationsHash TableLinked List | Medium | Onsite | 2 reports · last Jan 2026 |
| Find and Measure the Longest Target-Sum SubarrayArrayHash Table | Medium | Onsite | 2 reports · last Nov 2025 |
| K Closest Points to the OriginArraySorting | Medium | Onsite | 2 reports · last Nov 2025 |
| Canonical Directory After CD CommandsStringStack | Medium | Phone · Onsite | 2 reports · last Oct 2025 |
| Add Decimal Strings ExactlyStringMath | Medium | Phone · Onsite | 2 reports · last Jul 2025 |
| Binary Tree Vertical Order with Stable TiesTreeBreadth-First Search | Medium | Onsite | 2 reports · last Jul 2025 |
| Nested List Weight Sum (for E4)Depth-First SearchRecursion | Easy | Phone · Onsite | 2 reports · last Jun 2025 |
| Find Peak ElementArrayBinary Search | Medium | Phone | 2 reports · last Mar 2025 |
| Minimum Valid Round-Trip FareArrayGreedy | Medium | Phone · Onsite | 2 reports · last Aug 2024 |
| Best Time to Buy and Sell StockArrayDynamic Programming | Easy | Phone | 1 report · last Nov 2026 |
| First Element Greater Than KArrayBinary Search | Easy | Phone | 1 report · last Nov 2026 |
| Bank Accounts with Balance HistoryArrayHash Table | Medium | OA | 1 report · last Nov 2026 |
| Count Events in Rolling Minute WindowsArrayDesign | Medium | Phone | 1 report · last Oct 2026 |
| Shortest Path in a Binary MatrixMatrixBreadth-First Search | Medium | Phone | 1 report · last Sep 2026 |
| Linear Layer Forward and Backward PassesArrayMatrix | Medium | Onsite | 1 report · last Sep 2026 |
| Reservoir Sampling with Recorded DrawsArrayMath | Medium | Onsite | 1 report · last Sep 2026 |
| Stochastic Gradient Descent with MomentumArrayMatrix | Medium | Onsite | 1 report · last Sep 2026 |
| Top K Largest Values with a HeapArrayHeap | Medium | Onsite | 1 report · last Sep 2026 |
| Values Exclusive to the Current UserArrayHash Table | Easy | Phone | 1 report · last Sep 2026 |
| First Bad Version in a Monotone ArrayArrayBinary Search | Easy | Phone | 1 report · last Sep 2026 |
| Parenthesized String CalculatorRecursionStack | Medium | Phone | 1 report · last Sep 2026 |
| Partition a Card Deck into FifteensBacktrackingDynamic Programming | Hard | Onsite | 1 report · last Sep 2026 |
| In-Memory Database with Historical Field LookupDesignHash Table | Hard | OA | 1 report · last Sep 2026 |
| Insert into a Sorted Circular ListLinked ListArray | Medium | Onsite | 1 report · last Aug 2026 |
| Maximum Stock Profit with Transaction LimitsArrayDynamic Programming | Medium | Onsite | 1 report · last Aug 2026 |
| Minimum Time to Complete Target CoursesGraphTopological Sort | Medium | Onsite | 1 report · last Aug 2026 |
| Mouse and Cheese ReachabilityGraphBreadth-First Search | Medium | Onsite | 1 report · last Aug 2026 |
| Repeated BST Range Sum and AverageTreePrefix Sum | Medium | Onsite | 1 report · last Aug 2026 |
| Select a City by Population WeightArrayPrefix Sum | Medium | Phone | 1 report · last Aug 2026 |
| Sparse Vector Dot Product from TuplesArrayTwo Pointers | Easy | Onsite | 1 report · last Aug 2026 |
| Word Break with a Reusable DictionaryStringDynamic Programming | Medium | Onsite | 1 report · last Aug 2026 |
| First Common Ancestor with Parent PointersTreeTwo Pointers | Easy | Phone | 1 report · last Aug 2026 |
| Maximum Unique-Character Word SubsetArrayString | Medium | Onsite | 1 report · last Aug 2026 |
| Minimum-Sum Root-to-Leaf PathTreeDepth-First Search | Medium | Onsite | 1 report · last Aug 2026 |
| Find a Deterministic Local MinimumArrayBinary Search | Medium | Onsite | 1 report · last Aug 2026 |
| Query Whether an Island Size ExistsArrayHash Table | Medium | Onsite | 1 report · last Aug 2026 |
| Sum Root-to-Leaf NumbersTreeDepth-First Search | Medium | Onsite | 1 report · last Aug 2026 |
| Plan a Minimum-Cost Round TripArrayGreedy | Medium | Onsite | 1 report · last Jul 2026 |
| Evaluate a Flat Expression or Report Invalid InputStringMath | Medium | Phone | 1 report · last Jun 2026 |
| Longest Word Containing Another InputArrayString | Hard | Phone · Onsite | 1 report · last May 2026 |
| Candy Crush Board Until StableMatrixSimulation | Medium | Onsite | 1 report · last Apr 2026 |
| Rolling-Ball Maze ReachabilityMatrixGraph | Medium | Onsite | 1 report · last Apr 2026 |
| Sparse Matrix Multiplication in COO FormMatrixHash Table | Medium | Phone | 1 report · last Apr 2026 |
| Through-Origin Linear RegressionMathArray | Easy | Phone | 1 report · last Apr 2026 |
| Issue and Reuse 16-Bit TokensArrayHeap | Medium | Onsite | 1 report · last Nov 2025 |
| Kth Largest Element: Return Its Original IndexArraySorting | Medium | Onsite | 1 report · last Nov 2025 |
| Common Words Across FilesHash TableString | Medium | Phone | 1 report · last Sep 2025 |
| Diameter of a Binary TreeTreeDepth-First Search | Easy | Onsite | 1 report · last Sep 2025 |
| Signed Digit Partitions Reaching a TargetStringBacktracking | Hard | Phone | 1 report · last Jul 2025 |
| Intersect Two Sorted Interval ListsArrayTwo Pointers | Medium | Onsite | 1 report · last Jun 2025 |
| Minimum Flood Level to Disconnect a GridGraphBinary Search | Medium | Onsite | 1 report · last Jun 2025 |
| Valid PalindromeStringTwo Pointers | Easy | Onsite | 1 report · last May 2025 |
| Diagonal Traverse (for E4 ;)MatrixSimulation | Medium | Phone | 1 report · last Mar 2025 |
| Find Pair Closest to K (for E5 :)ArrayTwo Pointers | Easy | Phone | 1 report · last Feb 2025 |
| Max Consecutive Ones III (for E5 :)ArraySliding Window | Medium | Phone | 1 report · last Feb 2025 |
| Making a Large IslandGraphMatrix | Hard | Onsite | 1 report · last Feb 2025 |
| Next PermutationArrayTwo Pointers | Medium | Phone | 1 report · last Feb 2025 |
| Randomly Select a Maximum-Value IndexArrayMath | Medium | Onsite | 1 report · last Feb 2025 |
| Top Five Stories by Latest PopularityHash TableSorting | Medium | Phone | 1 report · last Feb 2025 |
| Count Centaur Friend RequestsArraySorting | Medium | Phone | 1 report · last Dec 2024 |
| Top N Frequent Words in a FileStringHash Table | Medium | Phone | 1 report · last Dec 2024 |
| Minimum-Weight Path Through a MatrixGraphShortest Path | Medium | Onsite | 1 report · last Aug 2024 |
| Sum Root-to-Leaf Node ValuesTreeDepth-First Search | Medium | Onsite | 1 report · last Aug 2024 |
| Cave AdvantureMatrixDepth-First Search | Hard | OA | 1 report · last May 2024 |
| Kth Missing Positive Number (for E4 :)ArrayBinary Search | Easy | Phone | 1 report · last Mar 2024 |
| Smallest Point with Maximum Interval CoverageArraySorting | Medium | Onsite | 1 report · last Mar 2024 |
| Closest Land Mark 👏Math | Easy | OA | 1 report · last Feb 2024 |
| Valid ParenthesesStringStack | Easy | Phone | 1 report · last Jan 2024 |
| Random Pick with Weight Using Recorded DrawsArrayPrefix Sum | Medium | Phone | 1 report · last Nov 2023 |
| Buildings with an Ocean ViewArray | Medium | Phone | 1 report · last Sep 2022 |
| Range Sum of BSTTreeDepth-First Search | Easy | Phone | 1 report · last Sep 2022 |
| Linked List Palindrome in Constant SpaceLinked ListTwo Pointers | Easy | Phone | 1 report · last Apr 2022 |
| Continuous Subarray Sum MultipleArrayHash Table | Medium | Phone | 1 report · last Dec 2021 |
| Insert a Closed IntervalArray | Medium | Phone | 1 report · last Dec 2021 |
| Space-Bounded Kth Largest ElementHeapArray | Medium | Phone | 1 report · last Dec 2021 |
| Vertical Tree Traversal with Value TiesTreeSorting | Hard | Phone | 1 report · last Dec 2021 |
| Count Word Break SentencesDynamic ProgrammingString | Medium | Phone | 1 report · last Jun 2021 |
| Find a Word in a Letter GridMatrixDepth-First Search | Medium | Onsite | 1 report · last May 2021 |
| Game of Life: Next GenerationMatrixSimulation | Medium | Onsite | 1 report · last May 2021 |
| Reconstruct an ItineraryGraphDepth-First Search | Hard | Onsite | 1 report · last May 2021 |
| Course Schedule II: Return a Course OrderGraphTopological Sort | Medium | Onsite | 1 report · last Apr 2021 |
| Insert a Value at a Linked List PositionLinked List | Easy | Onsite | 1 report · last Apr 2021 |
| Maximum Subtree SumTreeDepth-First Search | Medium | Onsite | 1 report · last Apr 2021 |
| Top K Frequent IntegersArrayHash Table | Medium | Onsite | 1 report · last Apr 2021 |
| Word Break: Construct One SentenceStringDynamic Programming | Medium | Onsite | 1 report · last Apr 2021 |
| Merge Overlapping IntervalsArraySorting | Medium | Phone | 1 report · last Feb 2021 |
| Validate a Strict Binary Search TreeTreeDepth-First Search | Medium | Phone | 1 report · last Feb 2021 |
| Custom Sort a StringStringCombinatorics | Medium | Phone | 1 report · last Dec 2020 |
| Evaluate Addition and MultiplicationStringMath | Medium | Onsite | 1 report · last Jun 2020 |
| Find the First Anagram Start IndexStringHash Table | Medium | Phone · Onsite | 1 report · last Jun 2020 |
| Iterative Depth-First SearchGraphDepth-First Search | Medium | Onsite | 1 report · last Jun 2020 |
| Maximum Value at Each Tree LevelTreeBreadth-First Search | Medium | Onsite | 1 report · last Jun 2020 |
| Uniformly Sample a Node from a Large TreeTreeDepth-First Search | Medium | Onsite | 1 report · last Jun 2020 |
At a glance
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.
4 questions · 2 hard, 1 easy and 1 medium
Topics: Binary Search, Design and Hash Table
Latest report: Nov 2026
60 questions · 39 medium, 16 easy and 5 hard
Topics: Array, String and Hash Table
Latest report: Nov 2026
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
01 · Preparation plan
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.
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.
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.
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.
02 · Design and project questions
Beyond coding questions, FastPrep has 32 system design, 2 low-level design and 2 project coding questions tagged Meta.
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.
PracticeDesign event ingestion, candidate retrieval, ranking, and serving for a bounded personalized user-item catalog.
PracticeLet 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.
PracticeTurn 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.
PracticeRepair a maze codebase, then add one-way movement and matching keys and doors.
PracticeDesign a scalable reverse-chronological feed for posts from authors a user currently follows.
PracticeDesign a reliable event-time pipeline that ingests ad events and serves reproducible per-ad and campaign analytics despite duplicates, late data, and replay.
PracticeCheck 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.
PracticeDetect sale intent for prohibited weapon advertisements with reliable labels, bounded review, and safe enforcement.
PracticeDesign the catalog, availability, pricing, reservation, and payment path for a high-demand movie and event ticketing platform.
PracticeDesign the data model and regional services that match riders with nearby drivers while preserving a single active assignment.
PracticeDesign a multi-tenant backend that ingests versioned documents and serves low-latency text search with filters, stable pagination, and safe index rebuilds.
PracticeServe conversational answers while building a versioned, auditable data and reinforcement-learning evaluation loop.
PracticeMaintain per-game high scores, show exact global rank after a game, and find nearby global or friend scores under heavy skew.
PracticeDesign a versioned programming-problem catalog and a safe asynchronous judge that produces reproducible submission verdicts.
PracticeDesign an unranked AND/OR text-search service over continuously ingested user statuses.
PracticeImplement prefix-based largest-file queries on top of an in-memory file store.
PracticeDesign a near-real-time platform that evaluates multilingual public posts across text, image, video, and audio and enforces weapon-safety decisions.
PracticeDesign a thread-safe, bounded-memory counter that records timestamped events and answers exact inclusive range queries quickly.
PracticeBuild, evaluate and serve a versioned code model that offers a bounded function implementation for developer review.
PracticeDesign live, ordered chatbot sessions for one customer organization and one application domain, with isolated user context and controlled model releases.
PracticeAdd a point-in-time post-like-history feature to an existing feed scorer and explain offline versus online results.
PracticeBuild account-level risk scores and a review-driven learning loop with honest evaluation under selective, delayed labels.
PracticePredict confirmed attendance for an eligible viewer and upcoming event using auditable outcomes and point-in-time features.
PracticePredict explicit negative feedback for proposed feed exposures with honest labels, calibrated probabilities and reproducible training and serving.
PracticeRetrieve and rank nearby eligible places for personalized mobile discovery while location, place state and feedback change.
PracticeDetect transformed whole-image and regional copies, learn robust localized representations and check recorded uploader rights before requesting review.
PracticeDesign durable short-video upload and processing, ranked feed generation, and low-latency global playback.
PracticeBuild and release versioned content embeddings that classification, recommendation, and semantic search can use consistently.
PracticeDesign an online ranker and its model lifecycle for caller-supplied candidates.
PracticeModel a small discussion forum with post creation, nested replies and per-user votes that remain correct under retries and concurrent changes.
PracticeDesign a kernel build-and-validation pipeline and a controlled fleet rollout that preserves capacity and proves which kernel each host actually boots.
PracticeCount qualified song listens once at high write volume and publish an exact global top ten with bounded freshness.
PracticeGather and evaluate representative camera clips for a person detector that controls notifications.
PracticeCompare four ASR architectures for ten-second recordings, then diagnose training and held-out errors before a safe model release.
PracticeDetect policy-offensive text and image ads, withstand evasive creative changes, and keep review and delivery decisions safe.
Practice03 · About these questions
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.
04 · FAQ
For hiring news and timelines, see the Meta hiring insights page.
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.
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.
Most Meta coding questions on FastPrep are medium. By difficulty, the 111 rated questions are 80 medium, 21 easy and 10 hard.
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).
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).
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.
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.
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.
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.
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
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