J P Morgan vs Salesforce Interview Questions

J P Morgan lists 79 LeetCode interview questions while Salesforce lists 188. They share 25 problems — 32% of J P Morgan's bank and 13% of Salesforce's. Focus on the overlap first, then drill into 54 J P Morgan-only and 163 Salesforce-only questions.

Overview

J P Morgan

79 questions

Easy 27Medium 47Hard 5
Salesforce

188 questions

Easy 25Medium 112Hard 51

Preparation Strategy

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

Step 2 — Company-specific depth: Add J P Morgan-specific problems like Sort Integers by The Number of 1 Bits, Reaching Points, Minimum Suffix Flips 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
J P Morgan
27
Salesforce
25
Medium
J P Morgan
47
Salesforce
112
Hard
J P Morgan
5
Salesforce
51

Top Shared Topics

25 Shared Questions

High-priority problems to practice for both J P Morgan and Salesforce.

ProblemDifficulty
Least Number of Unique Integers after K RemovalsMedium
Check Whether Two Strings are Almost EquivalentEasy
Minimum Absolute DifferenceEasy
Group AnagramsMedium
Best Time to Buy and Sell StockEasy
Merge IntervalsMedium
Valid ParenthesesEasy
Longest Palindromic SubstringMedium
Longest Substring Without Repeating CharactersMedium
Maximum Units on a TruckEasy
Subarray Sum Equals KMedium
Two SumEasy
Maximum SubarrayMedium
Generate ParenthesesMedium
LRU CacheMedium
Coin ChangeMedium
Count Binary SubstringsEasy
Container With Most WaterMedium
Find the Duplicate NumberMedium
Combination SumMedium
Search Suggestions SystemMedium
Kth Largest Element in an ArrayMedium
Top K Frequent ElementsMedium
Integer to RomanMedium
Spiral MatrixMedium

Unique to J P Morgan (54)

Problems in J P Morgan's list that do not appear at Salesforce.

ProblemDifficulty
Sort Integers by The Number of 1 BitsEasy
Reaching PointsHard
Minimum Suffix FlipsMedium
Remove Colored Pieces if Both Neighbors are the Same ColorMedium
Break a PalindromeMedium
Next PermutationMedium
Numbers With Repeated DigitsHard
Determine Color of a Chessboard SquareEasy
Minimum Swaps to Make Strings EqualMedium
Rotate ImageMedium
Button with Longest Push TimeEasy
Display Table of Food Orders in a RestaurantMedium

Unique to Salesforce (163)

Problems in Salesforce's list that do not appear at J P Morgan.

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 J P Morgan and Salesforce share?

J P Morgan and Salesforce share 25 LeetCode interview questions. 54 problems appear only in J P Morgan's list and 163 appear only in Salesforce's list.

What topics overlap most between J P Morgan and Salesforce?

The most common shared topics between J P Morgan and Salesforce are Array (17 shared questions), Hash Table (9 shared questions), String (9 shared questions), Sorting (8 shared questions), Dynamic Programming (5 shared questions). Mastering these areas prepares you for both companies.

Which company asks harder LeetCode questions: J P Morgan or Salesforce?

J P Morgan has 27 Easy, 47 Medium, and 5 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 J P Morgan and Salesforce?

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

Explore More