Morgan Stanley vs Salesforce Interview Questions
Morgan Stanley lists 60 LeetCode interview questions while Salesforce lists 188. They share 28 problems — 47% of Morgan Stanley's bank and 15% of Salesforce's. Focus on the overlap first, then drill into 32 Morgan Stanley-only and 160 Salesforce-only questions.
Read the full Morgan Stanley vs Salesforce preparation guide →
Overview
Preparation Strategy
Step 1 — Shared core: Solve the 28 overlapping problems first. These are the highest-yield questions for candidates interviewing at both Morgan Stanley and Salesforce.
Step 2 — Company-specific depth: Add Morgan Stanley-specific problems like Best Team With No Conflicts, Minimum Number of Lines to Cover Points, Find the Longest Valid Obstacle Course at Each Position 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
28 Shared Questions
High-priority problems to practice for both Morgan Stanley and Salesforce.
| Problem | Difficulty |
|---|---|
| Best Time to Buy and Sell Stock | Easy |
| Two Sum | Easy |
| Delete and Earn | Medium |
| Longest Substring Without Repeating Characters | Medium |
| Merge Intervals | Medium |
| LRU Cache | Medium |
| Kth Largest Element in an Array | Medium |
| Group Anagrams | Medium |
| Sort Colors | Medium |
| Spiral Matrix | Medium |
| Meeting Rooms II | Medium |
| Generate Parentheses | Medium |
| 3Sum | Medium |
| Subarrays with K Different Integers | Hard |
| Coin Change II | Medium |
| Minimum Number of Taps to Open to Water a Garden | Hard |
| Candy | Hard |
| Word Search | Medium |
| Remove All Adjacent Duplicates in String II | Medium |
| Longest Common Subsequence | Medium |
| Least Number of Unique Integers after K Removals | Medium |
| Longest Palindromic Substring | Medium |
| Maximum Subarray | Medium |
| Maximum Product Subarray | Medium |
| Longest Increasing Subsequence | Medium |
| Coin Change | Medium |
| Container With Most Water | Medium |
| Top K Frequent Elements | Medium |
Unique to Morgan Stanley (32)
Problems in Morgan Stanley's list that do not appear at Salesforce.
Unique to Salesforce (160)
Problems in Salesforce's list that do not appear at Morgan Stanley.
Frequently Asked Questions
How many LeetCode questions do Morgan Stanley and Salesforce share?
Morgan Stanley and Salesforce share 28 LeetCode interview questions. 32 problems appear only in Morgan Stanley's list and 160 appear only in Salesforce's list.
What topics overlap most between Morgan Stanley and Salesforce?
The most common shared topics between Morgan Stanley and Salesforce are Array (22 shared questions), Dynamic Programming (11 shared questions), Hash Table (8 shared questions), Sorting (8 shared questions), String (7 shared questions). Mastering these areas prepares you for both companies.
Which company asks harder LeetCode questions: Morgan Stanley or Salesforce?
Morgan Stanley has 13 Easy, 40 Medium, and 7 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 Morgan Stanley and Salesforce?
Start with the 28 shared problems since they cover what both companies ask most often. Then add 20 Morgan Stanley-specific and 20 Salesforce-specific questions to round out your prep.