Meta Intermediate Coding Interview Questions
293 intermediate coding problems are tagged as asked at Meta in interviews and online assessments reported by candidates. By difficulty they split into 0 basic, 293 intermediate and 0 advanced. The topics they most often combine with are Array, String, Math, Hash Table.
Reported questions change over time and are not a guarantee of what you will be asked, so use the list to see which patterns Meta tends to test. For each problem, practise explaining your approach, its time and space cost and the edge cases before you write the code; every problem opens in an editor that runs your code against test cases.
Coding problems
- Maximum Subarray (Intermediate)
- Longest Substring Without Repeats (Intermediate)
- Product of Array Except Self (Intermediate)
- Rotate Array (Intermediate)
- House Robber (Intermediate)
- Coin Change (Intermediate)
- Kth Largest Element (Intermediate)
- Minimum Size Subarray Sum (Intermediate)
- Longest Consecutive Sequence (Intermediate)
- Subarray Sum Equals K (Intermediate)
- Container With Most Water (Intermediate)
- Decode Ways (Intermediate)
- Longest Palindromic Substring (Intermediate)
- Happy Number (Intermediate)
- Daily Temperatures (Intermediate)
- Repeated Substring Pattern (Intermediate)
- Count and Say (Intermediate)
- Integer to Roman (Intermediate)
- Roman to Integer (Intermediate)
- Count Primes (Intermediate)
- Counting Bits (Intermediate)
- Min Cost Climbing Stairs (Intermediate)
- Reverse Integer (Intermediate)
- Minimum in a Rotated Sorted Array (Intermediate)
- Peak Index in a Mountain Array (Intermediate)
- Score of Parentheses (Intermediate)
- Greatest Common Divisor of Strings (Intermediate)
- Merge Intervals (Intermediate)
- Insert an Interval (Intermediate)
- Partition Labels (Intermediate)
- Sort Characters by Frequency (Intermediate)
- Best Sightseeing Pair (Intermediate)
- Maximum Units on a Truck (Intermediate)
- Last Stone Weight (Intermediate)
- Remove Invalid Parentheses (Intermediate)
- Subarrays Divisible by K (Intermediate)
- Permutation Inside a String (Intermediate)
- Fruit Into Two Baskets (Intermediate)
- Maximum Points From Cards (Intermediate)
- Subarrays With Product Less Than K (Intermediate)
- Longest Mountain Subarray (Intermediate)
- Zigzag Conversion (Intermediate)
- Remove K Digits to Get the Smallest Number (Intermediate)
- Arithmetic Slices (Intermediate)
- Count Palindromic Substrings (Intermediate)
- Find K Closest Elements (Intermediate)
- Maximum Gap After Sorting (Intermediate)
- Longest Substring With At Most K Letters (Intermediate)
- Maximum Events Attended (Intermediate)
- Minimum Swaps to Make Sequences Increasing (Intermediate)
- Count Subarrays With Fixed Bounds (Intermediate)
- Minimum Knight Moves (Intermediate)
- Count Numbers With Unique Digits (Intermediate)
- Minimum Time to Complete Trips (Intermediate)
- Shortest Bridge Between Two Islands (Intermediate)
- Maximum Product Subarray (Intermediate)
- Subarray Sum Equals K (Intermediate)
- Coin Change Ways (Intermediate)
- Minimum Path Sum (Intermediate)
- Partition Equal Subset Sum (Intermediate)
- Maximum Circular Subarray (Intermediate)
- Best Time to Buy and Sell Stock II (Intermediate)
- House Robber II (Intermediate)
- Next Permutation (Intermediate)
- Gas Station (Intermediate)
- Container With Most Water (Intermediate)
- Top K Frequent Values (Intermediate)
- Longest Palindromic Subsequence (Intermediate)
- Shortest Path In Binary Grid (Intermediate)
- Is Bipartite (Intermediate)
- Course Schedule Feasible (Intermediate)
- Running Kth Largest (Intermediate)
- Tree Vertical Traversal (Intermediate)
- Weighted Job Scheduling (Intermediate)
- LFU Cache Operations (Intermediate)
- Median of Sliding Windows (Intermediate)
- Sparse Vector Dot Product (Intermediate)
- Minimum Days to Make Bouquets (Intermediate)
- Find Peak in 2D Grid (Intermediate)
- Minimum Number of Perfect Squares (Intermediate)
Related
Frequently asked questions
How should I use the Meta problem list?
Start with the basic problems, then the intermediate and advanced ones, and note which topics repeat. Solve each under a timer, then read the explanation.
Are these the exact Meta interview questions?
They are problems candidates reported being asked. Companies rotate questions, so use them to learn the patterns, not to predict the exact question.