X vs Yelp Interview Questions
X lists 51 LeetCode interview questions while Yelp lists 27. They share 4 problems — 8% of X's bank and 15% of Yelp's. Focus on the overlap first, then drill into 47 X-only and 23 Yelp-only questions.
Overview
Preparation Strategy
Step 1 — Shared core: Solve the 4 overlapping problems first. These are the highest-yield questions for candidates interviewing at both X and Yelp.
Step 2 — Company-specific depth: Add X-specific problems like Trapping Rain Water, Tweet Counts Per Frequency, LRU Cache and Yelp-specific problems from the exclusive lists below.
Step 3 — Difficulty tuning: X skews harder in our data. Budget extra time for Hard problems if you are targeting that company.
Difficulty Comparison
Top Shared Topics
4 Shared Questions
High-priority problems to practice for both X and Yelp.
| Problem | Difficulty |
|---|---|
| Merge Intervals | Medium |
| Insert Delete GetRandom O(1) | Medium |
| Reverse Linked List | Easy |
| The Skyline Problem | Hard |
Unique to X (47)
Problems in X's list that do not appear at Yelp.
| Problem | Difficulty |
|---|---|
| Trapping Rain Water | Hard |
| Tweet Counts Per Frequency | Medium |
| LRU Cache | Medium |
| Flatten Nested List Iterator | Medium |
| Implement Trie (Prefix Tree) | Medium |
| Design Twitter | Medium |
| Binary Gap | Easy |
| Regular Expression Matching | Hard |
| Integer to Roman | Medium |
| Word Break II | Hard |
| Alien Dictionary | Hard |
| Time Needed to Buy Tickets | Easy |
Unique to Yelp (23)
Problems in Yelp's list that do not appear at X.
Frequently Asked Questions
How many LeetCode questions do X and Yelp share?
X and Yelp share 4 LeetCode interview questions. 47 problems appear only in X's list and 23 appear only in Yelp's list.
What topics overlap most between X and Yelp?
The most common shared topics between X and Yelp are Array (3 shared questions), Sorting (2 shared questions), Hash Table (1 shared questions), Math (1 shared questions), Design (1 shared questions). Mastering these areas prepares you for both companies.
Which company asks harder LeetCode questions: X or Yelp?
X has 8 Easy, 31 Medium, and 12 Hard questions. Yelp has 7 Easy, 15 Medium, and 5 Hard questions. X has a higher proportion of Hard problems in its interview set.
How should I prepare if interviewing at both X and Yelp?
Start with the 4 shared problems since they cover what both companies ask most often. Then add 20 X-specific and 20 Yelp-specific questions to round out your prep.