Salesforce vs Yelp Interview Questions

Salesforce lists 188 LeetCode interview questions while Yelp lists 27. They share 10 problems — 5% of Salesforce's bank and 37% of Yelp's. Focus on the overlap first, then drill into 178 Salesforce-only and 17 Yelp-only questions.

Overview

Salesforce

188 questions

Easy 25Medium 112Hard 51
Yelp

27 questions

Easy 7Medium 15Hard 5

Preparation Strategy

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

Step 2 — Company-specific depth: Add Salesforce-specific problems like Minimum Operations to Reduce an Integer to 0, Time Needed to Rearrange a Binary String, LFU Cache and Yelp-specific problems from the exclusive lists below.

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

Difficulty Comparison

Easy
Salesforce
25
Yelp
7
Medium
Salesforce
112
Yelp
15
Hard
Salesforce
51
Yelp
5

Top Shared Topics

10 Shared Questions

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

ProblemDifficulty
String CompressionMedium
Longest Substring Without Repeating CharactersMedium
Group AnagramsMedium
Merge IntervalsMedium
Two SumEasy
Top K Frequent ElementsMedium
Word LadderHard
Course ScheduleMedium
Decode StringMedium
Top K Frequent WordsMedium

Unique to Salesforce (178)

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

ProblemDifficulty
Minimum Operations to Reduce an Integer to 0Medium
Time Needed to Rearrange a Binary StringMedium
LFU CacheHard
Closest Equal Element QueriesMedium
Smallest Substring With Identical Characters IHard
Smallest Substring With Identical Characters IIHard
Remove Adjacent Almost-Equal CharactersMedium
Subarray Product Less Than KMedium
Maximum Palindromes After OperationsMedium
LRU CacheMedium
Maximum Number of Occurrences of a SubstringMedium
Maximum Product of Three NumbersEasy

Unique to Yelp (17)

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

ProblemDifficulty
Destination CityEasy
Filter Restaurants by Vegan-Friendly, Price and DistanceMedium
Remove Colored Pieces if Both Neighbors are the Same ColorMedium
Active BusinessesMedium
Longest Common PrefixEasy
Reverse Linked ListEasy
Reverse Words in a StringMedium
Minimum Index Sum of Two ListsEasy
The Skyline ProblemHard
Check If a Word Occurs As a Prefix of Any Word in a SentenceEasy
Letter Case PermutationMedium
Valid AnagramEasy

Frequently Asked Questions

How many LeetCode questions do Salesforce and Yelp share?

Salesforce and Yelp share 10 LeetCode interview questions. 178 problems appear only in Salesforce's list and 17 appear only in Yelp's list.

What topics overlap most between Salesforce and Yelp?

The most common shared topics between Salesforce and Yelp are String (6 shared questions), Hash Table (6 shared questions), Array (5 shared questions), Sorting (4 shared questions), Heap (Priority Queue) (2 shared questions). Mastering these areas prepares you for both companies.

Which company asks harder LeetCode questions: Salesforce or Yelp?

Salesforce has 25 Easy, 112 Medium, and 51 Hard questions. Yelp has 7 Easy, 15 Medium, and 5 Hard questions. Salesforce has a higher proportion of Hard problems in its interview set.

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

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

Explore More