Meta SDE-2 Interview Guide
These are coding problems that candidates have reported from Meta interviews, ordered so you can start with the ones that come up most. Meta rounds are quick, so aim to solve two medium problems in a round and keep your code clean enough to run in your head.
Treat the list as practice for the patterns, not a script: interviewers change the numbers and the story, and they care more about how you reason out loud than about a memorised answer.
Coding problems
- Two Sum (Basic)
- Contains Duplicate (Basic)
- Best Time to Buy and Sell Stock (Basic)
- Maximum Subarray (Intermediate)
- Valid Parentheses (Basic)
- Longest Substring Without Repeats (Intermediate)
- Product of Array Except Self (Intermediate)
- Move Zeroes (Basic)
- Search Insert Position (Basic)
- Rotate Array (Intermediate)
- Climbing Stairs (Basic)
- House Robber (Intermediate)
- Coin Change (Intermediate)
- Longest Increasing Subsequence (Advanced)
- Reverse String (Basic)
- First Unique Character (Basic)
- Valid Palindrome (Basic)
- Kth Largest Element (Intermediate)
- Single Number (Basic)
- Majority Element (Basic)
- Missing Number (Basic)
- Intersection of Two Arrays (Basic)
- Two Sum in a Sorted Array (Basic)
- Minimum Size Subarray Sum (Intermediate)
- Longest Consecutive Sequence (Intermediate)
- Subarray Sum Equals K (Intermediate)
- Container With Most Water (Intermediate)
- Trapping Rain Water (Advanced)
- Decode Ways (Intermediate)
- Longest Palindromic Substring (Intermediate)
- Valid Anagram (Basic)
- Ransom Note (Basic)
- Power of Two (Basic)
- Number of One Bits (Basic)
- Happy Number (Intermediate)
- Fibonacci Number (Basic)
- Sort Colors (Basic)
- Remove Element (Basic)
- Third Maximum Number (Basic)
- Max Consecutive Ones (Basic)
- Find Pivot Index (Basic)
- Running Sum of Array (Basic)
- Squares of a Sorted Array (Basic)
- Largest Rectangle in Histogram (Advanced)
- Daily Temperatures (Intermediate)
- Valid Mountain Array (Basic)
- Repeated Substring Pattern (Intermediate)
- Reverse Words in a String (Basic)
- Count and Say (Intermediate)
- Reverse Vowels of a String (Basic)
- Integer to Roman (Intermediate)
- Roman to Integer (Intermediate)
- Add Binary (Basic)
- Power of Three (Basic)
- Count Primes (Intermediate)
- Length of Last Word (Basic)
- Counting Bits (Intermediate)
- Power of Four (Basic)
- Min Cost Climbing Stairs (Intermediate)
- Longest Common Subsequence (Advanced)
Related
- Company interview roadmaps
- System design interview questions
- SDE-2 preparation plan
- Solo system design practice, scored out of 10
Frequently asked questions
How long are Meta coding rounds?
About 35 to 45 minutes, and interviewers usually expect two problems. Speed and clean code matter as much as the final answer.
Is system design part of the SDE-2 loop?
For mid-level and senior roles, yes: one design round, often on a product you already use, such as a feed or a messaging system.