PayPal vs Salesforce Interview Questions

PayPal lists 105 LeetCode interview questions while Salesforce lists 188. They share 48 problems — 46% of PayPal's bank and 26% of Salesforce's. Focus on the overlap first, then drill into 57 PayPal-only and 140 Salesforce-only questions.

Read the full PayPal vs Salesforce preparation guide →

Overview

PayPal

105 questions

Easy 19Medium 69Hard 17
Salesforce

188 questions

Easy 25Medium 112Hard 51

Preparation Strategy

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

Step 2 — Company-specific depth: Add PayPal-specific problems like Count Vowel Strings in Ranges, Find Words That Can Be Formed by Characters, Maximum Frequency Score of a Subarray 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
PayPal
19
Salesforce
25
Medium
PayPal
69
Salesforce
112
Hard
PayPal
17
Salesforce
51

Top Shared Topics

48 Shared Questions

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

ProblemDifficulty
Zigzag ConversionMedium
Minimum Absolute DifferenceEasy
Longest Increasing SubsequenceMedium
LRU CacheMedium
Time Needed to Rearrange a Binary StringMedium
Number of IslandsMedium
Word SearchMedium
Maximal SquareMedium
Product of Array Except SelfMedium
Coin ChangeMedium
Two SumEasy
Merge IntervalsMedium
Group AnagramsMedium
Last Stone WeightEasy
Longest Substring Without Repeating CharactersMedium
Search in Rotated Sorted ArrayMedium
Best Time to Buy and Sell StockEasy
Find Median from Data StreamHard
Maximum SubarrayMedium
Asteroid CollisionMedium
Top K Frequent ElementsMedium
Subarray Sum Equals KMedium
Palindromic SubstringsMedium
Count Vowel Substrings of a StringEasy
Koko Eating BananasMedium
Spiral MatrixMedium
Container With Most WaterMedium
Top K Frequent WordsMedium
Valid ParenthesesEasy
LFU CacheHard

Showing top 30 of 48 shared problems.

Unique to PayPal (57)

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

ProblemDifficulty
Count Vowel Strings in RangesMedium
Find Words That Can Be Formed by CharactersEasy
Maximum Frequency Score of a SubarrayHard
Meeting SchedulerMedium
Maximum Number of Integers to Choose From a Range IMedium
Pythagorean Distance Nodes in a TreeMedium
Count the Number of Vowel Strings in RangeEasy
Maximum Number of Integers to Choose From a Range IIMedium
Paint House IIIHard
Minimum Non-Zero Product of the Array ElementsMedium
Smallest Greater Multiple Made of Two DigitsMedium
Number of Valid Move Combinations On ChessboardHard

Unique to Salesforce (140)

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

ProblemDifficulty
Minimum Operations to Reduce an Integer to 0Medium
String CompressionMedium
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
Minimize Malware SpreadHard
Distinct SubsequencesHard

Frequently Asked Questions

How many LeetCode questions do PayPal and Salesforce share?

PayPal and Salesforce share 48 LeetCode interview questions. 57 problems appear only in PayPal's list and 140 appear only in Salesforce's list.

What topics overlap most between PayPal and Salesforce?

The most common shared topics between PayPal and Salesforce are Array (21 shared questions), String (9 shared questions), Hash Table (9 shared questions), Dynamic Programming (7 shared questions), Sorting (6 shared questions). Mastering these areas prepares you for both companies.

Which company asks harder LeetCode questions: PayPal or Salesforce?

PayPal has 19 Easy, 69 Medium, and 17 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 PayPal and Salesforce?

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

Explore More