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.

Read the full eBay vs Salesforce preparation guide →

Overview

eBay

62 questions

Easy 10Medium 39Hard 13
Salesforce

188 questions

Easy 25Medium 112Hard 51

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

Easy
eBay
10
Salesforce
25
Medium
eBay
39
Salesforce
112
Hard
eBay
13
Salesforce
51

Top Shared Topics

30 Shared Questions

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

ProblemDifficulty
LRU CacheMedium
Partition Equal Subset SumMedium
Minimum Window SubsequenceHard
Two SumEasy
Spiral MatrixMedium
Top K Frequent ElementsMedium
Number of IslandsMedium
Word LadderHard
Merge IntervalsMedium
Valid ParenthesesEasy
Course ScheduleMedium
Longest Palindromic SubstringMedium
Time Based Key-Value StoreMedium
Group AnagramsMedium
3SumMedium
Rotting OrangesMedium
Reconstruct ItineraryHard
Kth Largest Element in an ArrayMedium
Sort ColorsMedium
Word SearchMedium
Maximal SquareMedium
Longest Continuous Subarray With Absolute Diff Less Than or Equal to LimitMedium
Reorganize StringMedium
Generate ParenthesesMedium
Merge k Sorted ListsHard
Top K Frequent WordsMedium
Longest Substring Without Repeating CharactersMedium
Product of Array Except SelfMedium
Decode StringMedium
Find Median from Data StreamHard

Unique to eBay (32)

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

ProblemDifficulty
Remove One Element to Make the Array Strictly IncreasingEasy
Alternating Digit SumEasy
Binary GapEasy
Minimize Maximum Pair Sum in ArrayMedium
Design SkiplistHard
Subtree of Another TreeEasy
Open the LockMedium
Binary Tree CamerasHard
Pow(x, n)Medium
Set Matrix ZeroesMedium
Reverse PairsHard
Valid Palindrome IIEasy

Unique to Salesforce (158)

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

ProblemDifficulty
Minimum Operations to Reduce an Integer to 0Medium
String CompressionMedium
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
Maximum Number of Occurrences of a SubstringMedium
Maximum Product of Three NumbersEasy

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.

Explore More