Meta Interview Guide 2026: Facebook, Instagram, WhatsApp Engineering

Updated · techinterview.org

Meta (formerly Facebook) is one of the most interview-prepared companies in tech — millions of people know the Meta interview format and prepare specifically for it. This systematic approach can work in your favor if you match their expectations precisely. Meta hires at massive scale across Instagram, WhatsApp, Facebook, Messenger, Reality Labs, and Meta AI.

Meta Engineering Culture

  • Move fast: Meta pioneered “move fast and break things” — now “move fast with stable infrastructure”; shipping velocity is valued
  • Data-driven decisions: A/B testing is ubiquitous — every feature is tested; experiment infrastructure is a core competency
  • Scale: 3+ billion users; systems must work at planetary scale with multi-datacenter deployments
  • Open source contribution: Meta has open-sourced React, PyTorch, Llama, GraphQL, Folly, and more — engineers often contribute

Meta Interview Process (2025–2026)

  1. Recruiter screen (30 min): Background, role fit, timing
  2. Technical screen (60 min): 2 LeetCode-style problems
  3. Full loop (5 rounds, 1 day on-site or virtual):
    • 2× Coding (2 problems each round, LeetCode medium-hard, 45 min each)
    • 1× System design (large-scale distributed system, 45 min)
    • 1× Behavioral (STAR format, leadership, cross-team impact)
    • 1× Role-specific (ML engineers: ML system design; infra: distributed systems)

Coding at Meta — Two Problems Per Round

Meta’s coding rounds have two problems in 45 minutes. Pace yourself: ~5 min to understand and plan, ~15 min to implement, ~5 min to test for each problem. Common patterns:

Graph Problems (Very Common at Meta)

from collections import defaultdict, deque

# Classic Meta coding question: Friend circles / number of provinces
def find_num_provinces(is_connected: list) -> int:
    """
    Given n cities and their connections, find number of provinces.
    Province = group of directly/indirectly connected cities.
    LeetCode #547 — commonly asked at Meta.
    """
    n = len(is_connected)
    visited = set()
    provinces = 0

    def dfs(city):
        visited.add(city)
        for neighbor, connected in enumerate(is_connected[city]):
            if connected and neighbor not in visited:
                dfs(neighbor)

    for city in range(n):
        if city not in visited:
            dfs(city)
            provinces += 1
    return provinces

# Meta-style: social graph problems
def mutual_friends(graph: dict, user_a: str, user_b: str) -> list:
    """Find mutual friends between two users in a social graph."""
    friends_a = set(graph.get(user_a, []))
    friends_b = set(graph.get(user_b, []))
    return list(friends_a & friends_b)

def friend_suggestions(graph: dict, user: str, depth: int = 2) -> list:
    """
    Suggest friends at distance 2 (friends of friends) not already connected.
    BFS approach.
    """
    direct_friends = set(graph.get(user, []))
    suggestions = {}

    for friend in direct_friends:
        for fof in graph.get(friend, []):
            if fof != user and fof not in direct_friends:
                suggestions[fof] = suggestions.get(fof, 0) + 1

    # Sort by number of mutual connections
    return sorted(suggestions.keys(), key=lambda x: suggestions[x], reverse=True)

# Test
graph = {
    'Alice': ['Bob', 'Carol'],
    'Bob': ['Alice', 'Dave', 'Eve'],
    'Carol': ['Alice', 'Eve'],
    'Dave': ['Bob'],
    'Eve': ['Bob', 'Carol'],
}
print(mutual_friends(graph, 'Alice', 'Eve'))       # ['Bob', 'Carol']
print(friend_suggestions(graph, 'Alice'))          # ['Eve', 'Dave'] (sorted by mutuals)

Dynamic Programming (Frequently Asked)

# "Design a function to validate usernames at scale"
# Meta-style: think about the FB-scale implications

def is_valid_username(username: str) -> bool:
    """
    Rules: 3-20 chars, alphanumeric + underscore, must start with letter.
    Return True if valid.
    """
    if not username or not (3 <= len(username) <= 20):
        return False
    if not username[0].isalpha():
        return False
    return all(c.isalnum() or c == '_' for c in username)

print(is_valid_username("alice_92"))   # True
print(is_valid_username("2pac"))       # False (starts with a digit)
print(is_valid_username("ab"))         # False (too short)


def count_unique_paths(m: int, n: int) -> int:
    """Count paths from top-left to bottom-right moving only right/down."""
    dp = [[1] * n for _ in range(m)]
    for i in range(1, m):
        for j in range(1, n):
            dp[i][j] = dp[i-1][j] + dp[i][j-1]
    return dp[m-1][n-1]

print(count_unique_paths(3, 7))  # 28

Meta System Design — Social Graph Scale

  • “Design Facebook News Feed” — fanout on write vs read, EdgeRank algorithm, CDN for media, caching with Redis, push vs pull for celebrities
  • “Design Instagram Stories” — 24-hour TTL, blob storage, CDN with geo-distribution, view counting at scale, creator analytics
  • “Design Facebook Messenger” — WebSocket connections, message ordering, read receipts, group chats, end-to-end encryption
  • “Design the Facebook social graph” — TAO (graph cache), friend of friend queries, privacy filtering, sharding by user ID

Meta Behavioral Interview (STAR Format)

Meta uses STAR (Situation, Task, Action, Result) format rigorously. Prepare 6-8 stories covering:

  • Handling conflict with a teammate or manager
  • A time you took ownership beyond your role
  • A project where you influenced without authority
  • A technical decision you made and defended under pressure
  • A failure and what you learned
  • Delivering impact at Meta-scale (think big)

Meta Leveling Guide

  • E3 (new grad): Solve 2 medium LeetCode per round, contribute to team work
  • E4 (mid-level): Lead features, 1 hard problem acceptable in coding, SD at component level
  • E5 (senior): Design systems end-to-end, influence roadmap, manage ambiguity independently
  • E6 (staff): Cross-functional technical leadership, multi-year vision, org-wide impact

Practice these system design problems that appear in Meta interviews:

Explore all our company interview guides covering FAANG, startups, and high-growth tech companies.

Related system design: Monotonic Stack Patterns: Complete Interview Guide (2025)

Related system design: System Design Interview: Design a Distributed File System (HDFS/GFS)

Related system design: System Design Interview: Design Dropbox / Google Drive (Cloud Storage)

Related system design: Low-Level Design: Library Management System (OOP Interview)

Related system design: System Design Interview: Design a Distributed Messaging System (Kafka)

Related system design: String Manipulation Interview Patterns: Complete Guide (2025)

  • System Design Interview: Design a Social Graph (Friend Connections)
  • Sorting Algorithm Interview Patterns: Quicksort, Merge Sort, Counting Sort, Custom Sort
  • System Design Interview: Design Google Docs / Collaborative Editing
  • System Design Interview: Design a Real-Time Bidding (RTB) System
  • Tree Interview Patterns: DFS, BFS, LCA, BST, Tree DP, Serialization
  • 1D Dynamic Programming Interview Patterns: House Robber, LIS, Coin Change, Word Break
  • Graph BFS and DFS Interview Patterns: Islands, Shortest Path, Cycle Detection
  • System Design Interview: Design a Real-Time Chat Application (WhatsApp/Slack)
  • Trie (Prefix Tree) Interview Patterns: Autocomplete, Word Search, Wildcard
  • System Design Interview: Design a Fraud Detection System
  • System Design Interview: Design a Video Streaming Platform (YouTube/Netflix)
  • System Design Interview: Design a Real-Time Analytics Dashboard
  • System Design Interview: Design a Code Review and Pull Request Platform
  • Segment Tree and Fenwick Tree Interview Patterns: Range Queries and Updates
  • System Design Interview: Design a Social Media Feed System
  • System Design Interview: Design a Content Moderation System
  • Backtracking Algorithm Interview Patterns: Subsets, Permutations, N-Queens, Word Search
  • Advanced Graph Algorithms: SCC, Articulation Points, Dijkstra, MST
  • System Design Interview: Design a Real-Time Gaming Leaderboard
  • System Design Interview: Design a Real-Time Collaborative Whiteboard (Miro/Figma)
  • Shortest Path Algorithm Interview Patterns: Dijkstra, Bellman-Ford, Floyd-Warshall
  • Advanced Dynamic Programming Patterns: State Machine, Interval DP, Tree DP, Bitmask
  • System Design Interview: Design an Ad Click Aggregation System (Google/Meta Ads)
  • String Algorithm Interview Patterns: Sliding Window, Palindromes, Anagrams, Rolling Hash
  • System Design Interview: Design a Live Sports Score System
  • Union-Find (Disjoint Set Union) Interview Patterns: Connected Components, Kruskal’s MST
  • System Design Interview: Design an Online Auction System (eBay)
  • Greedy Algorithm Interview Patterns: Intervals, Jump Game, Task Scheduler
  • System Design Interview: Design a Cryptocurrency Exchange
  • Recursion and Memoization Interview Patterns: LCS, Edit Distance, Word Break
  • Interval DP and Advanced Dynamic Programming: Burst Balloons, State Machine, Tree DP
  • System Design Interview: Design a Real-Time Collaborative Editor (Google Docs)
  • System Design Interview: Design a Ticketing System (Ticketmaster)
  • Two Pointers and Sliding Window Interview Patterns
  • Graph Algorithm Interview Patterns: BFS, DFS, Dijkstra, Topological Sort
  • Segment Tree and Range Query Patterns: Fenwick Tree, Lazy Propagation, Order Statistics
  • Trie and String Matching Interview Patterns: Autocomplete, KMP, Rabin-Karp
  • System Design Interview: Design a Live Video Streaming Platform (Twitch)
  • System Design Interview: Design a Recommendation System (Netflix/Spotify/Amazon)
  • Amortized Analysis and Complexity Patterns: Dynamic Arrays, Union-Find, Monotonic Deque
  • System Design Interview: Design a Web Search Engine (Google)
  • Minimum Spanning Tree: Kruskal’s and Prim’s Algorithm Interview Guide
  • Dynamic Programming Patterns II: Knapsack, LCS, Edit Distance & State Machines
  • System Design Interview: Design a Social Media Feed (Twitter/Instagram)
  • Recursion and Backtracking Interview Patterns: Permutations, N-Queens, Sudoku
  • System Design Interview: Design a Ride-Sharing App (Uber/Lyft)
  • System Design Interview: Design a Search Autocomplete System
  • String Interview Patterns: Anagram, Palindrome, KMP & Encoding
  • System Design Interview: Design a Real-Time Collaboration Tool (Figma/Miro)
  • Interval Problem Patterns: Merge, Insert, Meeting Rooms & Scheduling
  • Tree Dynamic Programming Interview Patterns: Diameter, Path Sum & House Robber
  • System Design Interview: Design a Real-Time Leaderboard
  • Advanced Binary Search Interview Patterns: Rotated Array, Search on Answer
  • Stack Interview Patterns: Parentheses, Calculator, Histogram & Min Stack
  • Two Pointers and Sliding Window Interview Patterns: Complete Guide
  • System Design Interview: Design a Video Streaming Platform (YouTube/Netflix)
  • Greedy Algorithm Interview Patterns: Intervals, Jump Game, Task Scheduler
  • Trie Data Structure Interview Patterns: Autocomplete, Word Search & XOR
  • Heap and Priority Queue Interview Patterns
  • Graph Algorithms Interview Patterns: BFS, DFS, Dijkstra & Cycle Detection
  • Math and Number Theory Interview Patterns
  • Concurrency Interview Patterns: Locks, Thread Safety, Producer-Consumer
  • Sorting Algorithms Interview Guide: Quicksort, Mergesort, Counting Sort
  • Hash Map Interview Patterns: Two Sum, Frequency Counting, Sliding Window
  • System Design: Notification Service (Push, SMS, Email at Scale)
  • Topological Sort Interview Patterns: Kahn’s Algorithm, DFS Ordering, Cycle Detection
  • Matrix and Grid DP Interview Patterns: Unique Paths, Minimum Path Sum, Dungeon
  • System Design: Live Location Tracking (Uber / Lyft Driver GPS)
  • Segment Tree and Fenwick Tree (BIT) Interview Patterns
  • Recursion Interview Patterns: Memoization, Tree Recursion, Classic Problems
  • Bit Manipulation Interview Patterns: XOR Tricks, Bit Masks, Power of 2
  • Divide and Conquer Interview Patterns: Merge Sort, Quick Select, Master Theorem
  • Monotonic Stack Interview Patterns: Next Greater, Histograms, Stock Span
  • Union-Find (Disjoint Set Union) Interview Patterns
  • Backtracking Interview Patterns: Subsets, Permutations, N-Queens
  • Binary Tree Interview Patterns: Traversal, DFS, BFS, and Classic Problems
  • System Design: Real-Time Chat System (WhatsApp / Slack)
  • System Design: File Storage and Sync Service (Dropbox)
  • String DP Interview Patterns: LCS, Edit Distance, Palindrome DP
  • Linked List Interview Patterns
  • System Design: Twitter / Social Media Feed Architecture
  • System Design: Video Streaming Platform (Netflix/YouTube)
  • Dynamic Programming Knapsack Patterns
  • System Design: Email Service at Scale (SendGrid/Gmail)
  • Interval and Greedy Algorithm Interview Patterns
  • System Design: Autocomplete and Typeahead Service
  • System Design: Machine Learning Platform and MLOps
  • Stack and Queue Interview Patterns
  • Binary Search Interview Patterns
  • Sliding Window and Two Pointer Interview Patterns
  • System Design: DNS and Global Load Balancing
  • Graph Algorithm Interview Patterns
  • Trie and String Algorithm Interview Patterns
  • System Design: Recommendation Engine at Scale
  • System Design: Distributed File System (GFS/HDFS/S3)
  • Heap and Priority Queue Interview Patterns
  • 📌 Related System Design: Low-Level Design: Chess Game (OOP Interview)

    📌 Related System Design: Database Sharding: Complete System Design Guide

    📌 Related: Low-Level Design: Parking Lot System (OOP Interview)

    📌 Related: Low-Level Design: Hotel Booking System (OOP Interview)

    📌 Related: System Design Interview: Design Instagram / Photo Sharing Platform

    📌 Related: System Design Interview: Design YouTube / Video Streaming Platform

    📌 Related: Segment Tree and Fenwick Tree Interview Patterns (2025)

    📌 Related: Low-Level Design: Snake and Ladder Game (OOP Interview)

    📌 Related: System Design Interview: Design WhatsApp / Real-Time Messaging

    📌 Related: System Design Interview: Design Twitter / X Timeline

    📌 Related: Low-Level Design: Tic-Tac-Toe Game (OOP Interview)

    📌 Related: Shortest Path Algorithm Interview Patterns (2025)

    📌 Related: Dynamic Programming Interview Patterns (2025)

    📌 Related: System Design Interview: Design a Key-Value Store (Redis / DynamoDB)

    📌 Related: Low-Level Design: Library Management System (OOP Interview)

    📌 Related: Low-Level Design: Vending Machine (OOP Interview)

    📌 Related: Graph Traversal Interview Patterns (2025)

    📌 Related: Low-Level Design: Chat Application (OOP Interview)

    📌 Related: Sliding Window Interview Patterns (2025)

    📌 Related: Dynamic Programming on Strings: LCS, Edit Distance, and Patterns (2025)

    📌 Related: System Design Interview: Design a Social Media News Feed

    📌 Related: Interval Algorithm Interview Patterns (2025)

    📌 Related: Trie (Prefix Tree) Interview Patterns (2025)

    📌 Related: Low-Level Design: Pub/Sub Event System (OOP Interview)

    📌 Related: Union-Find (DSU) Interview Patterns (2025)

    📌 Related: Low-Level Design: Notification System (OOP Interview)

    📌 Related: Two Pointers Interview Patterns (2025)

    📌 Related: Dynamic Programming: Knapsack and Subset Sum Patterns (2025)

    📌 Related: Low-Level Design: Social Network Friend Graph (OOP Interview)

    Related system design: Interval and Scheduling Interview Patterns (2025)

    Related: Prefix Sum Interview Patterns: Subarray Sum, 2D Range Query, Product

    Related system design: Divide and Conquer Interview Patterns: Merge Sort, Quick Select, Master Theorem

    Related system design: System Design: Collaborative Document Editing (Google Docs) — OT, CRDT, and WebSockets

    Related system design: System Design: Real-time Chat and Messaging System (WhatsApp/Slack) — WebSockets, Pub/Sub, Scale

    Related system design: Interval Interview Patterns: Merge, Insert, Meeting Rooms, Sweep Line (2025)

    Related system design: Matrix Interview Patterns: BFS/DFS on Grids, Island Count, Shortest Path (2025)

    Related system design: Sorting Algorithms Interview Patterns: Merge Sort, Quick Sort, Heap Sort, Counting Sort (2025)

    Related system design: Low-Level Design: Content Moderation System — Automated Filtering, Human Review, and Appeals

    Related system design: String Sliding Window Interview Patterns: Longest Substring, Anagram, Minimum Window (2025)

    Related system design: 2D Dynamic Programming Interview Patterns: LCS, Edit Distance, Knapsack, Grid Paths (2025)

    Related system design: Advanced Tree Interview Patterns: Segment Trees, Fenwick Trees, Trie Operations, BST Validation (2025)

    Related system design: System Design: Social Network News Feed — Fan-out on Write vs Read, Ranking, and Feed Generation

    Related system design: Number Theory and Math Interview Patterns: GCD, Primes, Modular Arithmetic, Fast Power (2025)

    Related system design: System Design: Typeahead and Search Autocomplete — Trie, Prefix Indexing, and Real-time Suggestions

    Related system design: System Design: Online Judge — Code Execution, Sandboxing, Test Cases, and Scalable Evaluation

    Related system design: Advanced Graph Algorithms Interview Patterns: Bellman-Ford, Floyd-Warshall, Kruskal MST, Tarjan SCC (2025)

    Related system design: System Design: Multiplayer Game Backend — Game Sessions, Real-time State, Matchmaking, and Leaderboards

    Related system design: String Matching Algorithm Interview Patterns: KMP, Rabin-Karp, Z-Algorithm, and Boyer-Moore (2025)

    Related system design: Dynamic Programming on Graphs: Shortest Path DP, DAG DP, and Tree DP (2025)

    Related system design: Randomized Algorithms Interview Patterns: Reservoir Sampling, QuickSelect, Skip Lists (2025)

    Related system design: Amortized Analysis Interview Patterns: Dynamic Arrays, Stack Operations, and Union-Find (2025)

    Related system design: Monotonic Stack and Queue Interview Patterns: Next Greater Element, Largest Rectangle, Sliding Window Maximum (2025)

    Related system design: Shortest Path Interview Patterns: Dijkstra, Bellman-Ford, A*, and Floyd-Warshall (2025)

    Related system design: Low-Level Design: Social Media Platform — Posts, Feeds, Follows, and Notifications

    Related system design: Minimum Spanning Tree Interview Patterns: Kruskal, Prim, and Network Design Problems (2025)

    Related system design: Number Theory Interview Patterns: GCD, Sieve of Eratosthenes, Fast Exponentiation, and Modular Arithmetic (2025)

    Related system design: Topological Sort and Strongly Connected Components: Interview Patterns for Directed Graphs (2025)

    Related system design: System Design: Chat Application — Real-Time Messaging, Message Storage, and Presence (WhatsApp/Slack)

    Related system design: Rolling Hash and Rabin-Karp: String Matching Interview Patterns (2025)

    Related system design: Palindrome Dynamic Programming Interview Patterns: LPS, Minimum Cuts, and Palindrome Partitioning (2025)

    Related system design: Greedy Algorithm Interview Patterns: Activity Selection, Jump Game, and Interval Scheduling (2025)

    Related system design: System Design: Typeahead and Autocomplete — Trie, Ranking, and Real-Time Suggestion Updates

    Related system design: Tree DP and Path Problems: Maximum Path Sum, Diameter, LCA, and Serialization (2025)

    Related system design: Longest Increasing Subsequence (LIS): DP and Binary Search Interview Patterns (2025)

    Related system design: Merge Intervals Interview Patterns: Overlapping Intervals, Meeting Rooms, Calendar Problems (2025)

    Related system design: System Design: Ad Server — Targeting, Real-Time Bidding, Impression Tracking, and Click Attribution

    Related system design: Graph Shortest Path Interview Patterns: Dijkstra, Bellman-Ford, BFS, and Floyd-Warshall (2025)

    Related system design: Math Interview Patterns: Prime Sieve, Fast Power, GCD, and Combinatorics (2025)

    Related system design: Graph BFS Interview Patterns: Shortest Path, Islands, Word Ladder, and Multi-Source BFS (2025)

    Related system design: String Hashing Interview Patterns: Rabin-Karp, Rolling Hash, and Polynomial Hashing (2025)

    Related system design: Graph Topological Sort Interview Patterns: Kahn’s Algorithm, DFS Post-Order, and Cycle Detection (2025)

    Related system design: Dynamic Programming Patterns: Recognizing and Solving DP Problems (Complete Guide 2025)

    Related system design: Tree Traversal Interview Patterns: Inorder, Level Order, Zigzag, and Serialize/Deserialize (2025)

    Related system design: DP on Trees Interview Patterns: Subtree DP, Rerooting, and Path Aggregation (2025)

    Related system design: Advanced Greedy Interview Patterns: Interval Scheduling, Jump Game, and Huffman Coding (2025)

    Related system design: Low-Level Design: Collaborative Document Editor — Operational Transform, CRDT, and Conflict Resolution

    Related system design: Advanced Sliding Window Interview Patterns: Variable Size, String Problems, and Monotonic Deque (2025)

    Related system design: Union-Find (Disjoint Set Union) Interview Patterns: Path Compression, Connectivity, and Advanced Problems (2025)

    Related system design: System Design: Live Comments — Real-Time Delivery, Moderation, and Spam Prevention at Scale

    Related system design: Advanced Two-Pointer Interview Patterns: Three Sum, Trapping Rain Water, and Container Problems (2025)

    Related system design: Monotonic Stack Interview Patterns: Next Greater Element, Largest Rectangle, and Stock Span (2025)

    Related system design: String Algorithm Interview Patterns: KMP, Rabin-Karp, Z-Function, and Trie Applications (2025)

    Related system design: Advanced Trie Interview Patterns: Word Search, Palindrome Pairs, and Replace Words (2025)

    See also: System Design: Media Storage and Delivery

    See also: Matrix and Graph Interview Patterns

    See also: Advanced Recursion and Backtracking Interview Patterns

    See also: System Design: Gaming Backend

    See also: Dynamic Programming on Strings

    See also: Segment Tree and Fenwick Tree Interview Patterns

    See also: Sorting Algorithms for Interviews

    See also: Advanced Linked List Interview Patterns

    See also: System Design: Analytics Dashboard

    See also: Advanced Binary Search Interview Patterns

    See also: Advanced Tree Interview Patterns

    See also: Dynamic Programming on Grids

    See also: Advanced Graph Algorithms for Interviews

    See also: Advanced Interval Interview Patterns

    See also: System Design: Vector Database

    See also: System Design: A/B Testing Platform

    See also: Advanced Greedy Algorithm Interview Patterns

    See also: System Design: ML Training and Serving Pipeline

    See also: DP State Machine Interview Patterns

    See also: System Design: Real-Time Bidding Platform

    See also: Bit Manipulation Interview Patterns

    See also: System Design: Data Lake

    See also: Sliding Window Interview Patterns

    See also: Two Pointers Interview Patterns

    See also: Stack and Queue Interview Patterns

    See also: Monotonic Stack Interview Patterns

    See also: System Design: Feed Ranking and Personalization

    See also: Union-Find Interview Patterns

    See also: Binary Search Interview Patterns

    See also: Advanced Trie Interview Patterns

    See also: Recursion and Divide-and-Conquer Interview Patterns

    See also: String Manipulation Interview Patterns

    Meta coding interviews test number theory and modular arithmetic. Review key patterns in Math and Number Theory Interview Patterns.

    Meta interviews frequently ask heap problems. Review k-th largest, merge streams, and median finder in Heap and Priority Queue Interview Patterns.

    Meta coding interviews test advanced graph algorithms. Review Dijkstra, topological sort, and SCC patterns in Advanced Graph Algorithm Interview Patterns.

    Meta’s social and knowledge graph is a classic system design topic. Review the full design in Knowledge Graph System Design.

    Meta coding interviews test advanced DP. Review space reduction, bitmask DP, and interval DP in Dynamic Programming Optimization Patterns.

    Meta coding interviews include range query problems. Review segment tree and BIT patterns in Segment Tree and Fenwick Tree Patterns.

    Meta coding interviews test string search algorithms. Review KMP, Rabin-Karp, and Z-algorithm in String Search Algorithm Interview Patterns.

    Meta coding interviews test advanced bit manipulation. Review XOR tricks and bitmask DP in Advanced Bit Manipulation Interview Patterns.

    Meta interviews test cycle detection and graph algorithms. Review directed and undirected cycle patterns in Graph Cycle Detection Interview Patterns.

    Meta coding interviews heavily test 2D grid problems. Review BFS, DFS, and search patterns in Matrix and 2D Grid Interview Patterns.

    See also: Sorting Algorithm Deep Dive: Quicksort, Mergesort, Heapsort, and Counting Sort

    See also: Low-Level Design: Content Moderation System – Rules Engine, ML Scoring, and Appeals

    Meta interviews test backtracking. Review subsets, permutations, and N-Queens patterns in Backtracking Interview Patterns.

    Meta News Feed is the canonical social feed design. Review fan-out, ranking, and caching in Social Feed System Low-Level Design.

    See also: Advanced Number Theory Interview Patterns: CRT, Euler Totient, and Digit DP

    See also: Priority Queue and Monotonic Queue Patterns: Sliding Window, Top-K, and Scheduling

    See also: Advanced Stack Interview Patterns: Monotonic Stack, Calculator, and Expression Parsing (2025)

    Meta interviews test probability reasoning. Review reservoir sampling, Bloom filters, and random algorithms in Probability and Statistics Interview Patterns.

    Meta coding interviews test sliding window and BFS patterns. Review the monotonic deque and task scheduler in Queue and Deque Interview Patterns.

    Meta coding interviews test range queries and BITs. Review Fenwick trees, segment trees, and sparse tables in Range Query Interview Patterns.

    Meta interviews test trie problems. Review prefix search, Word Search II, and autocomplete patterns in Trie Interview Patterns.

    Meta coding interviews test interval problems. Review merge, meeting rooms, and sweep line patterns in Interval Interview Patterns.

    Meta coding interviews test string algorithms. Review sliding window, KMP, and rolling hash patterns in String Interview Patterns.

    Meta coding interviews test greedy algorithms. Review jump game, gas station, and partition labels in Greedy Algorithm Interview Patterns.

    Meta coding interviews test sorting. Review merge sort inversions, quickselect, and custom comparators in Sorting Algorithm Interview Patterns.

    Meta tests linked list manipulation extensively. Review fast-slow pointers, reverse, and merge K lists in Linked List Interview Patterns.

    Meta tests tree DP extensively. Review diameter, max path sum, House Robber III, and tree cameras in Dynamic Programming on Trees Interview Patterns.

    Meta tests graph algorithms extensively. Review DFS, BFS, topological sort, and island patterns in Graph Traversal Interview Patterns.

    Meta tests string DP extensively. Review LCS, edit distance, regex matching, and palindrome partitioning in Dynamic Programming on Strings Interview Patterns.

    Meta tests heap patterns extensively. Review two-heap median, K-way merge, and lazy deletion in Advanced Heap Interview Patterns.

    Meta tests binary search algorithms. Review binary search on answer space, rotated arrays, and 2D matrix search in Advanced Binary Search Interview Patterns.

    Meta tests 2D DP patterns. Review grid paths, maximal square, dungeon game, and rolling arrays in 2D Dynamic Programming Interview Patterns.

    Meta tests interval DP. Review Burst Balloons, Strange Printer, and the O(n^3) template in Dynamic Programming on Intervals Interview Patterns.

    Meta tests state machine DP. Review the stock trading variants LC 121-309-714 in Stock Trading Dynamic Programming Interview Patterns.

    Meta interviews test OOP design. Review Strategy, Observer, and Command patterns in Object-Oriented Design Patterns for Coding Interviews.

    Meta system design covers file and media storage. Review the file storage LLD in File Storage System (Google Drive / Dropbox) Low-Level Design.

    Meta system design covers social graph at billion-user scale. Review the full LLD in Social Graph System Low-Level Design.

    Meta coding interviews test prefix sum patterns. Review range sum, subarray sum, and difference arrays in Prefix Sum Interview Patterns.

    Meta coding interviews include number theory and combinatorics. Review the full pattern guide in Number Theory Interview Patterns.

    Meta Messenger design is a core system design interview topic. Review WebSocket delivery and Cassandra storage in Messaging System (Chat) Low-Level Design.

    Meta coding interviews test divide and conquer. Review merge sort, quickselect, and inversions in Divide and Conquer Interview Patterns.

    Meta coding interviews test stack patterns. Review monotonic stack, histogram, and calculator patterns in Stack Interview Patterns.

    Meta coding interviews test graph ordering problems. Review Kahn’s algorithm and DFS topological sort in Topological Sort Interview Patterns.

    Meta coding interviews test bit tricks. Review XOR, bitmask subsets, and Brian Kernighan’s algorithm in Bit Manipulation Interview Patterns.

    Meta coding interviews test two pointers. Review 3sum, sliding window, and trapping rain water in Two Pointers Advanced Interview Patterns.

    newsletter

    What's actually being asked right now

    Interview patterns & comp trends, straight to your inbox.

    No spam. Unsubscribe anytime.

    newsletter

    What's actually being asked right now

    Interview patterns & comp trends, straight to your inbox.

    No spam. Unsubscribe anytime.

    1972 Soviet postage stamp commemorating the Mars 2 probe

    worth a read

    Mars For The Rest of Us — a weekly-or-more deep dive on the technical side of Mars exploration: rocket propulsion, microbiology, mission architecture, and everything in between. Written by Maciej Ceglowski.

    Read it on Substack
    Scroll to Top