Salesforce Coding Interview Questions
We track 178 coding questions asked at Salesforce, tagged with the algorithms and concepts they test. The most common: Array, String, Hash Table, Dynamic Programming, Sorting.
Browse all 178 Salesforce questions →Concept mix
Each question's weight is split evenly across its concepts, so the shares sum to 100%.
- Array19.7%
- String10.2%
- Dynamic Programming7.8%
- Hash Table7.0%
- Sorting4.8%
- Binary Search4.0%
- Greedy3.6%
- Stack3.6%
- Two Pointers3.2%
- Heap (Priority Queue)2.8%
- Other (39)33.0%
How many questions involve each concept
Share of all 178 tracked Salesforce questions that touch each concept. Questions usually involve several, so these overlap.
- Array57.3%
- String27.5%
- Hash Table25.8%
- Dynamic Programming21.3%
- Sorting18.5%
- Binary Search12.9%
- Heap (Priority Queue)12.9%
- Greedy11.8%
- Depth-First Search11.2%
- Stack11.2%
- Two Pointers9.6%
- Breadth-First Search9.0%
Where Salesforce differs from the average company
Concept weight at Salesforce relative to the average across all companies we track. Green means Salesforce leans on it harder than most.
- Quickselect3.0×
- Bucket Sort2.0×
- Data Stream2.0×
- Monotonic Queue2.0×
- Trie0.60×
- Queue0.50×
- Bit Manipulation0.44×
- Math0.27×
Salesforce specialties
Concepts that show up at Salesforce but are rarely asked elsewhere. They are easy to get blindsided by.
Difficulty mix
Level split of the 178 tracked Salesforce questions.
- Junior15% (26)
- Mid/Senior59% (105)
- Staff26% (47)
Every concept in Salesforce interviews
Practice a Salesforce interview
Take a realistic AI-led mock interview with questions Salesforce actually asks, with live voice and real feedback.
Start a mock interviewYour first interview is free · no credit card required