Salesforce vs Yahoo Interview Questions
Salesforce lists 188 LeetCode interview questions while Yahoo lists 34. They share 15 problems — 8% of Salesforce's bank and 44% of Yahoo's. Focus on the overlap first, then drill into 173 Salesforce-only and 19 Yahoo-only questions.
Overview
Preparation Strategy
Step 1 — Shared core: Solve the 15 overlapping problems first. These are the highest-yield questions for candidates interviewing at both Salesforce and Yahoo.
Step 2 — Company-specific depth: Add Salesforce-specific problems like Minimum Operations to Reduce an Integer to 0, String Compression, Time Needed to Rearrange a Binary String and Yahoo-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
15 Shared Questions
High-priority problems to practice for both Salesforce and Yahoo.
| Problem | Difficulty |
|---|---|
| LRU Cache | Medium |
| Two Sum | Easy |
| Top K Frequent Elements | Medium |
| Word Search | Medium |
| Median of Two Sorted Arrays | Hard |
| Validate Binary Search Tree | Medium |
| Meeting Rooms II | Medium |
| Search in Rotated Sorted Array | Medium |
| Word Break | Medium |
| Decode String | Medium |
| Valid Parentheses | Easy |
| Subarray Sum Equals K | Medium |
| Combination Sum | Medium |
| Roman to Integer | Easy |
| Spiral Matrix | Medium |
Unique to Salesforce (173)
Problems in Salesforce's list that do not appear at Yahoo.
Unique to Yahoo (19)
Problems in Yahoo's list that do not appear at Salesforce.
Frequently Asked Questions
How many LeetCode questions do Salesforce and Yahoo share?
Salesforce and Yahoo share 15 LeetCode interview questions. 173 problems appear only in Salesforce's list and 19 appear only in Yahoo's list.
What topics overlap most between Salesforce and Yahoo?
The most common shared topics between Salesforce and Yahoo are Array (10 shared questions), Hash Table (6 shared questions), String (5 shared questions), Divide and Conquer (2 shared questions), Sorting (2 shared questions). Mastering these areas prepares you for both companies.
Which company asks harder LeetCode questions: Salesforce or Yahoo?
Salesforce has 25 Easy, 112 Medium, and 51 Hard questions. Yahoo has 11 Easy, 20 Medium, and 3 Hard questions. Salesforce has a higher proportion of Hard problems in its interview set.
How should I prepare if interviewing at both Salesforce and Yahoo?
Start with the 15 shared problems since they cover what both companies ask most often. Then add 20 Salesforce-specific and 19 Yahoo-specific questions to round out your prep.