Meta vs Yahoo Interview Questions

Meta lists 217 LeetCode interview questions while Yahoo lists 34. They share 23 problems — 11% of Meta's bank and 68% of Yahoo's. Focus on the overlap first, then drill into 194 Meta-only and 11 Yahoo-only questions.

Read the full Meta vs Yahoo preparation guide →

Overview

Meta

217 questions

Easy 52Medium 132Hard 33
Yahoo

34 questions

Easy 11Medium 20Hard 3

Preparation Strategy

Step 1 — Shared core: Solve the 23 overlapping problems first. These are the highest-yield questions for candidates interviewing at both Meta and Yahoo.

Step 2 — Company-specific depth: Add Meta-specific problems like Minimum Remove to Make Valid Parentheses, Valid Word Abbreviation, Binary Tree Vertical Order Traversal and Yahoo-specific problems from the exclusive lists below.

Step 3 — Difficulty tuning: Meta skews harder in our data. Budget extra time for Hard problems if you are targeting that company.

Difficulty Comparison

Easy
Meta
52
Yahoo
11
Medium
Meta
132
Yahoo
20
Hard
Meta
33
Yahoo
3

Top Shared Topics

23 Shared Questions

High-priority problems to practice for both Meta and Yahoo.

ProblemDifficulty
Two SumEasy
Find Peak ElementMedium
Top K Frequent ElementsMedium
Subarray Sum Equals KMedium
Valid ParenthesesEasy
Shortest Path in Binary MatrixMedium
Longest Common PrefixEasy
LRU CacheMedium
Median of Two Sorted ArraysHard
Palindrome NumberEasy
Search in Rotated Sorted ArrayMedium
Roman to IntegerEasy
Word SearchMedium
Spiral MatrixMedium
Validate Binary Search TreeMedium
Word BreakMedium
Combination SumMedium
Meeting Rooms IIMedium
Reverse Linked ListEasy
Decode StringMedium
Maximum Depth of Binary TreeEasy
Restore IP AddressesMedium
Contains DuplicateEasy

Unique to Meta (194)

Problems in Meta's list that do not appear at Yahoo.

ProblemDifficulty
Minimum Remove to Make Valid ParenthesesMedium
Valid Word AbbreviationEasy
Binary Tree Vertical Order TraversalMedium
Valid Palindrome IIEasy
Lowest Common Ancestor of a Binary Tree IIIMedium
Merge Sorted ArrayEasy
Kth Largest Element in an ArrayMedium
Pow(x, n)Medium
Binary Tree Right Side ViewMedium
Simplify PathMedium
Merge IntervalsMedium
Basic Calculator IIMedium

Unique to Yahoo (11)

Problems in Yahoo's list that do not appear at Meta.

ProblemDifficulty
Serialize and Deserialize Binary TreeHard
Largest Palindrome ProductHard
Linked List CycleEasy
Matrix Cells in Distance OrderEasy
Non-decreasing SubsequencesMedium
Maximum Distance in ArraysMedium
Binary Number with Alternating BitsEasy
Peeking IteratorMedium
Longest Repeating Character ReplacementMedium
Evaluate DivisionMedium
Flatten Nested List IteratorMedium

Frequently Asked Questions

How many LeetCode questions do Meta and Yahoo share?

Meta and Yahoo share 23 LeetCode interview questions. 194 problems appear only in Meta's list and 11 appear only in Yahoo's list.

What topics overlap most between Meta and Yahoo?

The most common shared topics between Meta and Yahoo are Array (13 shared questions), Hash Table (7 shared questions), String (7 shared questions), Binary Search (3 shared questions), Sorting (3 shared questions). Mastering these areas prepares you for both companies.

Which company asks harder LeetCode questions: Meta or Yahoo?

Meta has 52 Easy, 132 Medium, and 33 Hard questions. Yahoo has 11 Easy, 20 Medium, and 3 Hard questions. Meta has a higher proportion of Hard problems in its interview set.

How should I prepare if interviewing at both Meta and Yahoo?

Start with the 23 shared problems since they cover what both companies ask most often. Then add 20 Meta-specific and 11 Yahoo-specific questions to round out your prep.

Explore More