Meta Interview Questions and Guide
Speed matters — two problems per coding round. Product design rounds focus on APIs and data flow for user-facing features.
The Meta interview loop
- Recruiter screen
- Technical screen: 2 coding problems in 45 min
- Onsite: 2 coding, 1 system or product design, 1 behavioral
Meta interview questions
- Design a URL Shortener
- Design Ticketmaster
- Design WhatsApp
- Design a News Feed
- Design Top-K Trending Videos
- Design YouTube
- Design an Ad Click Aggregator
- Design LeetCode
- Design Meta Post Privacy
- Design Zoom (Video Conferencing)
- Design Instagram
- Design Twitter Search
- Design Reddit
- Design TikTok (For You Feed)
- Design Tinder
- Design Facebook Live Comments
- Design Strava
- Design Google News
- Design a Distributed File System
- Design Distributed Counters
- Design a Real-Time Leaderboard
- Design a Remote Devbox
- Design ML Model Distribution
- Design Sora (Text-to-Video)
- Minimum Window Substring
- Container With Most Water
- 3Sum
- Product of Array Except Self
- Sort Colors (Dutch National Flag)
- Find All Anagrams in a String
- Longest Palindromic Substring
- Best Time to Buy and Sell Stock
- Valid Palindrome
- Valid Palindrome II
- Valid Word Abbreviation
- Merge Sorted Array
- Move Zeroes
- Longest Common Prefix
- Rotate Image
- Spiral Matrix
- Next Permutation
- Set Matrix Zeroes
- Longest Repeating Character Replacement
- Max Consecutive Ones III
- Minimum Size Subarray Sum
- First Missing Positive
- Remove Duplicates from Sorted Array
- Rotate Array
- Squares of a Sorted Array
- Two Sum II - Input Array Is Sorted
- Zigzag Conversion
- 4Sum
- 3Sum Closest
- Fruit Into Baskets
- Permutation in String
- String Compression
- Reverse Words in a String
- Subarray Product Less Than K
- Game of Life
- Majority Element II
- Remove Element
- Merge Strings Alternately
- Maximum Average Subarray I
- Is Subsequence
- Remove Duplicates from Sorted Array II
- Diagonal Traverse
- Increasing Triplet Subsequence
- Frequency of the Most Frequent Element
- Number of Substrings Containing All Three Characters
- Rotate String
- Find Pivot Index
- Rearrange Array Elements by Sign
- Can Make Arithmetic Progression From Sequence
- Find Missing and Repeated Values
- Find All Numbers Disappeared in an Array
- Third Maximum Number
- Maximum Sum of Distinct Subarrays With Length K
- Maximum Number of Vowels in a Substring of Given Length
- Longest Substring with At Most K Distinct Characters
- Sort an Array
- Toeplitz Matrix
- Range Sum Query - Immutable
- Range Sum Query 2D - Immutable
- Subarray Sum Equals K
- Implement an LRU Cache
- Two Sum
- Group Anagrams
- Longest Consecutive Sequence
- Contiguous Array (Equal 0s and 1s)
- Valid Anagram
- Isomorphic Strings
- Valid Sudoku
- Continuous Subarray Sum
- Subarray Sums Divisible by K
- Happy Number
- Contains Duplicate
- Ransom Note
- Count Number of Nice Subarrays
- Intersection of Two Arrays
- Repeated DNA Sequences
- Group Shifted Strings
- Longest Palindrome
- Unique Number of Occurrences
- Brick Wall
- K-diff Pairs in an Array
- Max Number of K-Sum Pairs
- Jewels and Stones
- Sort Array by Increasing Frequency
- Reverse a Linked List
- Reverse a Sublist
- Merge K Sorted Lists
- Remove the Nth Node From the End
- Reorder List
- Palindrome Linked List
- Add Two Numbers
- Swap Nodes in Pairs
- Rotate List
- Odd Even Linked List
- Remove Duplicates from Sorted List II
- Sort List
- Reverse Nodes in k-Group
- Remove Duplicates from Sorted List
- Remove Linked List Elements
- Partition List
- Delete the Middle Node of a Linked List
- Add Two Numbers II
- Insertion Sort List
- Swapping Nodes in a Linked List
- Maximum Twin Sum of a Linked List
- Remove Zero Sum Consecutive Nodes from Linked List
- Double a Number Represented as a Linked List
- Daily Temperatures
- Valid Parentheses
- Basic Calculator II
- Minimum Remove to Make Valid Parentheses
- Decode String
- Asteroid Collision
- Simplify Path
- Basic Calculator
- Longest Valid Parentheses
- Next Greater Element I
- Final Prices With a Special Discount in a Shop
- Remove All Adjacent Duplicates in String
- Remove All Adjacent Duplicates in String II
- Minimum Add to Make Parentheses Valid
- Maximal Rectangle
- Exclusive Time of Functions
- Car Fleet
- Buildings With an Ocean View
- Backspace String Compare
- Baseball Game
- Basic Calculator III
- Max Stack
- Sum of Subarray Ranges
- Maximum Nesting Depth of the Parentheses
- Maximum Frequency Stack
- Score of Parentheses
- Binary Tree Level Order Traversal
- Shortest Path in Binary Matrix
- Walls and Gates
- Longest Subarray With Absolute Diff ≤ Limit
- Moving Average from Data Stream
- Find the Winner of the Circular Game
- Jump Game VII
- Shortest Path in a Grid with Obstacles Elimination
- Number of Students Unable to Eat Lunch
- Nearest Exit from Entrance in Maze
- Shortest Distance from All Buildings
- Minimum Genetic Mutation
- Find the Safest Path in a Grid
- Continuous Subarrays
- Count Subarrays With Fixed Bounds
- Top K Frequent Elements
- Kth Largest Element in an Array
- K Closest Points to Origin
- Kth Largest Element in a Stream
- Task Scheduler
- Top K Frequent Words
- Sort Characters by Frequency
- Kth Smallest Element in a Sorted Matrix
- Furthest Building You Can Reach
- Meeting Rooms III
- Minimum Number of Refueling Stops
- Design Twitter
- Ugly Number II
- Minimum Cost to Hire K Workers
- Maximal Score After Applying K Operations
- Search in Rotated Sorted Array
- First and Last Position in a Sorted Array
- Find Minimum in Rotated Sorted Array
- Find a Peak Element
- Split Array Largest Sum
- Median of Two Sorted Arrays
- Search a 2D Matrix
- Sqrt(x)
- Single Element in a Sorted Array
- Kth Missing Positive Number
- Find K Closest Elements
- Minimum Number of Days to Make m Bouquets
- Search a 2D Matrix II
- Peak Index in a Mountain Array
- Find the Smallest Divisor Given a Threshold
- Magnetic Force Between Two Balls
- Find a Peak Element II
- Arranging Coins
- Find K-th Smallest Pair Distance
- Successful Pairs of Spells and Potions
- Minimum Speed to Arrive on Time
- Lowest Common Ancestor of a Binary Tree
- Binary Tree Right Side View
- Diameter of a Binary Tree
- Path Sum II
- Binary Tree Maximum Path Sum
- Same Tree
- Symmetric Tree
- Subtree of Another Tree
- Binary Tree Zigzag Level Order Traversal
- Binary Tree Vertical Order Traversal
- All Nodes Distance K in Binary Tree
- Sum Root to Leaf Numbers
- Path Sum III
- Maximum Width of Binary Tree
- Flatten Binary Tree to Linked List
- Boundary of Binary Tree
- Step-By-Step Directions From a Binary Tree Node to Another
- Vertical Order Traversal of a Binary Tree
- Count Good Nodes in Binary Tree
- Find Leaves of Binary Tree
- Binary Tree Cameras
- Binary Tree Paths
- Minimum Depth of Binary Tree
- Count Complete Tree Nodes
- Count Nodes Equal to Average of Subtree
- Cousins in Binary Tree
- Maximum Difference Between Node and Ancestor
- Longest ZigZag Path in a Binary Tree
- Binary Tree Preorder Traversal
- Sum of Left Leaves
- Merge Two Binary Trees
- Find Largest Value in Each Tree Row
- Check Completeness of a Binary Tree
- Construct Binary Tree from Inorder and Postorder Traversal
- Maximum Level Sum of a Binary Tree
- Binary Tree Tilt
- Validate a Binary Search Tree
- Kth Smallest Element in a BST
- Lowest Common Ancestor in a BST
- Range Sum of a BST
- Two Sum IV - Input is a BST
- Closest Binary Search Tree Value
- Trim a Binary Search Tree
- Inorder Successor in BST
- Convert Sorted List to Binary Search Tree
- Convert BST to Greater Tree
- Minimum Absolute Difference in BST
- Closest Binary Search Tree Value II
- Balance a Binary Search Tree
- Unique Binary Search Trees
- Construct Binary Search Tree from Preorder Traversal
- Increasing Order Search Tree
- All Elements in Two Binary Search Trees
- Largest BST Subtree
- Count of Smaller Numbers After Self
- Two Sum BSTs
- Verify Preorder Sequence in Binary Search Tree
- Course Schedule (Ordering)
- Accounts Merge
- Graph Valid Tree
- Word Ladder
- Pacific Atlantic Water Flow
- Is Graph Bipartite?
- Course Schedule II
- Max Area of Island
- Flood Fill
- Surrounded Regions
- Number of Connected Components in an Undirected Graph
- Making A Large Island
- Reconstruct Itinerary
- Alien Dictionary
- Keys and Rooms
- Swim in Rising Water
- The Earliest Moment When Everyone Become Friends
- Number of Islands II
- Minimum Height Trees
- Find if Path Exists in Graph
- Find the Celebrity
- All Paths From Source to Target
- Critical Connections in a Network
- Shortest Bridge
- Reorder Routes to Make All Paths Lead to the City Zero
- Number of Operations to Make Network Connected
- Detonate the Maximum Bombs
- Find All Possible Recipes from Given Supplies
- Find the Town Judge
- Count Unreachable Pairs of Nodes in an Undirected Graph
- Word Break
- Decode Ways
- Partition Equal Subset Sum
- Target Sum
- Maximum Product Subarray
- Palindromic Substrings
- House Robber II
- Maximal Square
- Regular Expression Matching
- Longest Increasing Path in a Matrix
- Min Cost Climbing Stairs
- Pascal's Triangle
- Triangle
- Perfect Squares
- Predict the Winner
- Maximum Sum Circular Subarray
- Wildcard Matching
- Distinct Subsequences
- Russian Doll Envelopes
- Best Time to Buy and Sell Stock III
- Best Time to Buy and Sell Stock with Transaction Fee
- Combination Sum IV
- Number of Longest Increasing Subsequence
- Minimum Falling Path Sum
- Dungeon Game
- Integer Break
- Partition Array for Maximum Sum
- Minimum Cost to Cut a Stick
- Fibonacci Number
- Count Square Submatrices with All Ones
- Domino and Tromino Tiling
- Cherry Pickup
- Longest String Chain
- Maximum Sum of 3 Non-Overlapping Subarrays
- Generate Subsets and Permutations
- Permutations
- Combination Sum
- Word Search
- Generate Parentheses
- Letter Combinations of a Phone Number
- Subsets II
- Combination Sum II
- Permutations II
- Palindrome Partitioning
- Restore IP Addresses
- Word Break II
- Expression Add Operators
- Subsets
- Combination Sum III
- Letter Case Permutation
- Matchsticks to Square
- Remove Invalid Parentheses
- Word Ladder II
- Path with Maximum Gold
- Maximum Length of a Concatenated String with Unique Characters
- Generalized Abbreviation
- Unique Paths III
- N-Queens II
- Different Ways to Add Parentheses
- Jump Game
- Partition Labels
- Best Time to Buy and Sell Stock II
- Can Place Flowers
- Valid Parenthesis String
- Largest Number
- Boats to Save People
- Hand of Straights
- Maximum Swap
- Lemonade Change
- Assign Cookies
- Two City Scheduling
- Queue Reconstruction by Height
- Minimum Deletions to Make Character Frequencies Unique
- Maximum Units on a Truck
- Reduce Array Size to The Half
- Wiggle Subsequence
- Minimum Number of Taps to Open to Water a Garden
- Maximum Ice Cream Bars
- Merge Overlapping Intervals
- Minimum Meeting Rooms
- Insert Interval
- Meeting Rooms
- Non-overlapping Intervals
- Interval List Intersections
- Minimum Arrows to Burst Balloons
- Summary Ranges
- Data Stream as Disjoint Intervals
- Minimum Interval to Include Each Query
- Missing Ranges
- Count Days Without Meetings
- Divide Intervals Into Minimum Number of Groups
- Minimum Time Difference
- The Skyline Problem
- Remove Interval
- Design Add and Search Words (Wildcards)
- Map Sum Pairs
- Concatenated Words
- Stream of Characters
- Palindrome Pairs
- Prefix and Suffix Search
- Short Encoding of Words
- Sum of Prefix Scores of Strings
- Lexicographical Numbers
- Remove Sub-Folders from the Filesystem
- Index Pairs of a String
- Missing Number
- Sum of Two Integers Without + or -
- Add Binary
- Hamming Distance
- Single Number III
- Total Hamming Distance
- Divide Two Integers
- UTF-8 Validation
- Minimum Bit Flips to Convert Number
- Bitwise ORs of Subarrays
- Find Kth Bit in Nth Binary String
- Pow(x, n) — Fast Exponentiation
- Reservoir Sampling
- Palindrome Number
- Reverse Integer
- Roman to Integer
- Integer to Roman
- String to Integer (atoi)
- Multiply Strings
- Excel Sheet Column Title
- Fraction to Recurring Decimal
- Integer to English Words
- Angle Between Hands of a Clock
- Plus One
- Add Strings
- Fizz Buzz
- Count and Say
- Valid Number
- Sequential Digits
- Power of Three
- Ugly Number
- Sum of Square Numbers
- Rotate Function
- Count Good Numbers
- Excel Sheet Column Number
- Water and Jug Problem
- Find the Closest Palindrome
- Design a Notification Service
- Tell me about yourself
- Tell me about a conflict with a coworker
- Tell me about a time you failed
- Walk me through your most impactful project
- Tell me about critical feedback you received
- Why are you leaving your current role?
- What are you looking for in your next team?
- Tell me about a time you took ownership beyond your role
- Tell me about a problem you noticed that nobody else was addressing
- Tell me about a project you drove from idea to launch
- Tell me about delivering a project across multiple teams
- Tell me about a time you led without formal authority
- Tell me about a time you convinced others to adopt your idea
- Tell me about working with an underperforming teammate
- Tell me about a decision you made with incomplete information
- Tell me about a difficult technical trade-off you made
- Tell me about a time you had to change direction mid-project
- Tell me about a time you had to cut scope
- Tell me about a mistake that affected others
- Tell me about the hardest bug you've debugged
- Tell me about a time you had to learn something new quickly
- Tell me about a time you pushed back on a request
- Tell me about a time you made the case for paying down tech debt
- What questions do you have for me?
- Tell me about a time you took a calculated risk
- Tell me about raising the bar when hiring or developing people
- Tell me about a time you shipped fast and iterated
- Tell me about a time you kept going on a problem that seemed stuck
- Tell me about creating structure in a chaotic situation
- Tell me about a time you gave difficult feedback to a peer
- Tell me about a time you challenged a more senior colleague
- Build a Small App from a Spec with AI
- Add Tests to an Untested Module with AI
- Refactor a Legacy Module with AI
- Fix a Slow Endpoint with AI
- Review an AI-Generated Pull Request
- Build a Multi-Level In-Memory Store with AI
- Integrate a Paginated, Rate-Limited API with AI
- Analyze Logs with a Script and AI
- Fix a Concurrency Bug with AI
- Ship a Feature Behind a Flag with a Data Migration