Infosys vs Salesforce Interview Questions
Infosys lists 105 LeetCode interview questions while Salesforce lists 188. They share 32 problems — 30% of Infosys's bank and 17% of Salesforce's. Focus on the overlap first, then drill into 73 Infosys-only and 156 Salesforce-only questions.
Overview
Preparation Strategy
Step 1 — Shared core: Solve the 32 overlapping problems first. These are the highest-yield questions for candidates interviewing at both Infosys and Salesforce.
Step 2 — Company-specific depth: Add Infosys-specific problems like Maximum Good Subtree Score, Find Building Where Alice and Bob Can Meet, Minimum Reverse Operations 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
32 Shared Questions
High-priority problems to practice for both Infosys and Salesforce.
| Problem | Difficulty |
|---|---|
| Two Sum | Easy |
| Longest Substring Without Repeating Characters | Medium |
| Best Time to Buy and Sell Stock | Easy |
| Valid Parentheses | Easy |
| Maximum Subarray | Medium |
| Trapping Rain Water | Hard |
| Product of Array Except Self | Medium |
| Merge Intervals | Medium |
| Generate Parentheses | Medium |
| Spiral Matrix | Medium |
| Coin Change | Medium |
| 3Sum | Medium |
| Group Anagrams | Medium |
| Kth Largest Element in an Array | Medium |
| Longest Palindromic Substring | Medium |
| Gas Station | Medium |
| Missing Number | Easy |
| Reverse Nodes in k-Group | Hard |
| Number of Islands | Medium |
| Merge Two Sorted Lists | Easy |
| Roman to Integer | Easy |
| Subarray Sum Equals K | Medium |
| Median of Two Sorted Arrays | Hard |
| Combination Sum | Medium |
| Valid Palindrome | Easy |
| Find the Duplicate Number | Medium |
| Koko Eating Bananas | Medium |
| Integer to Roman | Medium |
| Maximum Product of Three Numbers | Easy |
| Minimum Window Substring | Hard |
Showing top 30 of 32 shared problems.
Unique to Infosys (73)
Problems in Infosys's list that do not appear at Salesforce.
Unique to Salesforce (156)
Problems in Salesforce's list that do not appear at Infosys.
Frequently Asked Questions
How many LeetCode questions do Infosys and Salesforce share?
Infosys and Salesforce share 32 LeetCode interview questions. 73 problems appear only in Infosys's list and 156 appear only in Salesforce's list.
What topics overlap most between Infosys and Salesforce?
The most common shared topics between Infosys and Salesforce are Array (20 shared questions), String (9 shared questions), Hash Table (8 shared questions), Dynamic Programming (6 shared questions), Sorting (6 shared questions). Mastering these areas prepares you for both companies.
Which company asks harder LeetCode questions: Infosys or Salesforce?
Infosys has 32 Easy, 57 Medium, and 16 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 Infosys and Salesforce?
Start with the 32 shared problems since they cover what both companies ask most often. Then add 20 Infosys-specific and 20 Salesforce-specific questions to round out your prep.