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
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
Top Shared Topics
10 Shared Questions
High-priority problems to practice for both Salesforce and Yelp.
| Problem | Difficulty |
|---|---|
| String Compression | Medium |
| Longest Substring Without Repeating Characters | Medium |
| Group Anagrams | Medium |
| Merge Intervals | Medium |
| Two Sum | Easy |
| Top K Frequent Elements | Medium |
| Word Ladder | Hard |
| Course Schedule | Medium |
| Decode String | Medium |
| Top K Frequent Words | Medium |
Unique to Salesforce (178)
Problems in Salesforce's list that do not appear at Yelp.
Unique to Yelp (17)
Problems in Yelp's list that do not appear at Salesforce.
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.