Twitter vs Yelp Interview Questions

Twitter lists 53 LeetCode interview questions while Yelp lists 27. They share 4 problems — 8% of Twitter's bank and 15% of Yelp's. Focus on the overlap first, then drill into 49 Twitter-only and 23 Yelp-only questions.

Overview

Twitter

53 questions

Easy 8Medium 33Hard 12
Yelp

27 questions

Easy 7Medium 15Hard 5

Preparation Strategy

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

Step 2 — Company-specific depth: Add Twitter-specific problems like Regular Expression Matching, Integer to Roman, Valid Parentheses and Yelp-specific problems from the exclusive lists below.

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

Difficulty Comparison

Easy
Twitter
8
Yelp
7
Medium
Twitter
33
Yelp
15
Hard
Twitter
12
Yelp
5

Top Shared Topics

4 Shared Questions

High-priority problems to practice for both Twitter and Yelp.

ProblemDifficulty
Merge IntervalsMedium
Reverse Linked ListEasy
The Skyline ProblemHard
Insert Delete GetRandom O(1)Medium

Unique to Twitter (49)

Problems in Twitter's list that do not appear at Yelp.

ProblemDifficulty
Regular Expression MatchingHard
Integer to RomanMedium
Valid ParenthesesEasy
Merge k Sorted ListsHard
Trapping Rain WaterHard
Multiply StringsMedium
Wildcard MatchingHard
Permutation SequenceHard
Pascal's TriangleEasy
Word Break IIHard
LRU CacheMedium
Time Needed to Buy TicketsEasy

Unique to Yelp (23)

Problems in Yelp's list that do not appear at Twitter.

ProblemDifficulty
Destination CityEasy
Filter Restaurants by Vegan-Friendly, Price and DistanceMedium
Remove Colored Pieces if Both Neighbors are the Same ColorMedium
Two SumEasy
Longest Substring Without Repeating CharactersMedium
Active BusinessesMedium
Decode StringMedium
Longest Common PrefixEasy
Course ScheduleMedium
Reverse Words in a StringMedium
Minimum Index Sum of Two ListsEasy
Top K Frequent ElementsMedium

Frequently Asked Questions

How many LeetCode questions do Twitter and Yelp share?

Twitter and Yelp share 4 LeetCode interview questions. 49 problems appear only in Twitter's list and 23 appear only in Yelp's list.

What topics overlap most between Twitter and Yelp?

The most common shared topics between Twitter and Yelp are Array (3 shared questions), Sorting (2 shared questions), Linked List (1 shared questions), Recursion (1 shared questions), Divide and Conquer (1 shared questions). Mastering these areas prepares you for both companies.

Which company asks harder LeetCode questions: Twitter or Yelp?

Twitter has 8 Easy, 33 Medium, and 12 Hard questions. Yelp has 7 Easy, 15 Medium, and 5 Hard questions. Twitter has a higher proportion of Hard problems in its interview set.

How should I prepare if interviewing at both Twitter and Yelp?

Start with the 4 shared problems since they cover what both companies ask most often. Then add 20 Twitter-specific and 20 Yelp-specific questions to round out your prep.

Explore More