Home / Company interviews / Salesforce · Updated
Salesforce interview questions and practice
168 coding questions are known to come up in Salesforce interviews (24 easy, 99 medium, 45 hard), 28 of them in the last six months. The most common topics are Array, String, Hash Table, Dynamic Programming.
Practice interviews built from public job posts and question lists. Each open post links to the original so you can apply on Salesforce’s own site; Salesforce does not run, see or review your practice.
Coding questions Salesforce asks
From public company-tagged interview question lists. Most recent and most frequent first.
- Array95
- String46
- Hash Table45
- Dynamic Programming36
- Sorting27
- Greedy20
- Stack20
- Heap (Priority Queue)20
- Depth-First Search19
- Two Pointers18
- Binary Search18
- Breadth-First Search17
| Question | Difficulty | Asked recently |
|---|---|---|
| Minimum Operations to Reduce an Integer to 0 | Medium | Yes |
| String Compression | Medium | Yes |
| Time Needed to Rearrange a Binary String | Medium | Yes |
| LFU Cache | Hard | Yes |
| Maximum Product of Three Numbers | Easy | Yes |
| Maximum Palindromes After Operations | Medium | Yes |
| Course Schedule II | Medium | Yes |
| LRU Cache | Medium | Yes |
| Merge Intervals | Medium | Yes |
| Asteroid Collision | Medium | Yes |
| Remove All Adjacent Duplicates in String II | Medium | Yes |
| Merge k Sorted Lists | Hard | Yes |
| Minimum Replacements to Sort the Array | Hard | Yes |
| Count Vowel Substrings of a String | Easy | Yes |
| Rotting Oranges | Medium | Yes |
| Design Twitter | Medium | Yes |
| Generate Parentheses | Medium | Yes |
| Minimum Edge Reversals So Every Node Is Reachable | Hard | Yes |
| Remove Stones to Minimize the Total | Medium | Yes |
| Vertical Order Traversal of a Binary Tree | Hard | Yes |
| Strange Printer | Hard | Yes |
| Amount of Time for Binary Tree to Be Infected | Medium | Yes |
| Partition Array Into Two Arrays to Minimize Sum Difference | Hard | Yes |
| Angle Between Hands of a Clock | Medium | Yes |
| Fruit Into Baskets | Medium | Yes |
Questions about Salesforce interviews
What topics do Salesforce interviews cover?
The ones that come up most are Array, String, Hash Table, Dynamic Programming, Sorting.
What coding questions does Salesforce ask?
168 questions are tagged to Salesforce in public interview lists: 24 easy, 99 medium and 45 hard. The most asked include Minimum Operations to Reduce an Integer to 0, String Compression, Time Needed to Rearrange a Binary String.
How do I practise a Salesforce interview?
Answer a 2-minute question for free, then take a mock interview with an AI interviewer, voice and live coding. You get a review that marks the exact line that cost you. The screen and Round 1 of your first role interview are free.
Practise a Salesforce interview before it counts.
Talk it through while you code, and get a review that marks the exact line that cost you. Free to start.
Interviews at similar companies
- Walmart Labs143 questions
- Flipkart1 role · 1 open · 104 questions
- Samsung61 questions
- Google5 roles · 5 open · 1930 questions
- Amazon11 roles · 11 open · 1664 questions
- Microsoft16 roles · 16 open · 1227 questions
- Meta1 role · 1 open · 1202 questions
- Bloomberg1111 questions
- TikTok5 roles · 5 open · 300 questions
- Oracle272 questions
- Goldman Sachs248 questions
- Adobe4 roles · 4 open · 137 questions