eBay vs Salesforce Interview Questions
eBay lists 62 LeetCode interview questions while Salesforce lists 188. They share 30 problems — 48% of eBay's bank and 16% of Salesforce's. Focus on the overlap first, then drill into 32 eBay-only and 158 Salesforce-only questions.
Overview
Preparation Strategy
Step 1 — Shared core: Solve the 30 overlapping problems first. These are the highest-yield questions for candidates interviewing at both eBay and Salesforce.
Step 2 — Company-specific depth: Add eBay-specific problems like Remove One Element to Make the Array Strictly Increasing, Alternating Digit Sum, Binary Gap and Salesforce-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
30 Shared Questions
High-priority problems to practice for both eBay and Salesforce.
| Problem | Difficulty |
|---|---|
| LRU Cache | Medium |
| Partition Equal Subset Sum | Medium |
| Minimum Window Subsequence | Hard |
| Two Sum | Easy |
| Spiral Matrix | Medium |
| Top K Frequent Elements | Medium |
| Number of Islands | Medium |
| Word Ladder | Hard |
| Merge Intervals | Medium |
| Valid Parentheses | Easy |
| Course Schedule | Medium |
| Longest Palindromic Substring | Medium |
| Time Based Key-Value Store | Medium |
| Group Anagrams | Medium |
| 3Sum | Medium |
| Rotting Oranges | Medium |
| Reconstruct Itinerary | Hard |
| Kth Largest Element in an Array | Medium |
| Sort Colors | Medium |
| Word Search | Medium |
| Maximal Square | Medium |
| Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit | Medium |
| Reorganize String | Medium |
| Generate Parentheses | Medium |
| Merge k Sorted Lists | Hard |
| Top K Frequent Words | Medium |
| Longest Substring Without Repeating Characters | Medium |
| Product of Array Except Self | Medium |
| Decode String | Medium |
| Find Median from Data Stream | Hard |
Unique to eBay (32)
Problems in eBay's list that do not appear at Salesforce.
| Problem | Difficulty |
|---|---|
| Remove One Element to Make the Array Strictly Increasing | Easy |
| Alternating Digit Sum | Easy |
| Binary Gap | Easy |
| Minimize Maximum Pair Sum in Array | Medium |
| Design Skiplist | Hard |
| Subtree of Another Tree | Easy |
| Open the Lock | Medium |
| Binary Tree Cameras | Hard |
| Pow(x, n) | Medium |
| Set Matrix Zeroes | Medium |
| Reverse Pairs | Hard |
| Valid Palindrome II | Easy |
Unique to Salesforce (158)
Problems in Salesforce's list that do not appear at eBay.
Frequently Asked Questions
How many LeetCode questions do eBay and Salesforce share?
eBay and Salesforce share 30 LeetCode interview questions. 32 problems appear only in eBay's list and 158 appear only in Salesforce's list.
What topics overlap most between eBay and Salesforce?
The most common shared topics between eBay and Salesforce are Array (17 shared questions), String (13 shared questions), Sorting (10 shared questions), Hash Table (9 shared questions), Heap (Priority Queue) (8 shared questions). Mastering these areas prepares you for both companies.
Which company asks harder LeetCode questions: eBay or Salesforce?
eBay has 10 Easy, 39 Medium, and 13 Hard questions. Salesforce has 25 Easy, 112 Medium, and 51 Hard questions. Salesforce has a higher proportion of Hard problems in its interview set.
How should I prepare if interviewing at both eBay and Salesforce?
Start with the 30 shared problems since they cover what both companies ask most often. Then add 20 eBay-specific and 20 Salesforce-specific questions to round out your prep.