LinkedIn vs Salesforce Interview Questions
LinkedIn lists 141 LeetCode interview questions while Salesforce lists 188. They share 36 problems — 26% of LinkedIn's bank and 19% of Salesforce's. Focus on the overlap first, then drill into 105 LinkedIn-only and 152 Salesforce-only questions.
Overview
Preparation Strategy
Step 1 — Shared core: Solve the 36 overlapping problems first. These are the highest-yield questions for candidates interviewing at both LinkedIn and Salesforce.
Step 2 — Company-specific depth: Add LinkedIn-specific problems like Max Stack, Nested List Weight Sum II, All O`one Data Structure 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
36 Shared Questions
High-priority problems to practice for both LinkedIn and Salesforce.
| Problem | Difficulty |
|---|---|
| Word Ladder | Hard |
| Find Leaves of Binary Tree | Medium |
| Maximum Subarray | Medium |
| Max Consecutive Ones III | Medium |
| Valid Parentheses | Easy |
| Number of Islands | Medium |
| Maximum Product Subarray | Medium |
| Search in Rotated Sorted Array | Medium |
| Minimum Window Substring | Hard |
| Exclusive Time of Functions | Medium |
| Kth Largest Element in an Array | Medium |
| Merge Intervals | Medium |
| Find Pivot Index | Easy |
| LRU Cache | Medium |
| Merge Two Sorted Lists | Easy |
| Two Sum | Easy |
| Merge k Sorted Lists | Hard |
| Palindromic Substrings | Medium |
| Product of Array Except Self | Medium |
| Find K Closest Elements | Medium |
| Maximum Number of Non-overlapping Palindrome Substrings | Hard |
| Number of Divisible Triplet Sums | Medium |
| Min Stack | Medium |
| Valid Parenthesis String | Medium |
| K Closest Points to Origin | Medium |
| Combination Sum | Medium |
| Longest Palindromic Substring | Medium |
| Integer to Roman | Medium |
| Course Schedule II | Medium |
| Number of Visible People in a Queue | Hard |
Showing top 30 of 36 shared problems.
Unique to LinkedIn (105)
Problems in LinkedIn's list that do not appear at Salesforce.
| Problem | Difficulty |
|---|---|
| Max Stack | Hard |
| Nested List Weight Sum II | Medium |
| All O`one Data Structure | Hard |
| Find the Celebrity | Medium |
| Nested List Weight Sum | Medium |
| Design Authentication Manager | Medium |
| Shortest Word Distance II | Medium |
| Can Place Flowers | Easy |
| Pow(x, n) | Medium |
| Insert Delete GetRandom O(1) | Medium |
| Binary Tree Upside Down | Medium |
| Partition to K Equal Sum Subsets | Medium |
Unique to Salesforce (152)
Problems in Salesforce's list that do not appear at LinkedIn.
Frequently Asked Questions
How many LeetCode questions do LinkedIn and Salesforce share?
LinkedIn and Salesforce share 36 LeetCode interview questions. 105 problems appear only in LinkedIn's list and 152 appear only in Salesforce's list.
What topics overlap most between LinkedIn and Salesforce?
The most common shared topics between LinkedIn and Salesforce are Array (16 shared questions), String (8 shared questions), Hash Table (6 shared questions), Dynamic Programming (6 shared questions), Stack (5 shared questions). Mastering these areas prepares you for both companies.
Which company asks harder LeetCode questions: LinkedIn or Salesforce?
LinkedIn has 25 Easy, 90 Medium, and 26 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 LinkedIn and Salesforce?
Start with the 36 shared problems since they cover what both companies ask most often. Then add 20 LinkedIn-specific and 20 Salesforce-specific questions to round out your prep.