Enterprise SaaS

Salesforce interview questions

Grouped by topic, sorted Easy → Medium → Hard, then by LeetCode ID. Click a problem to open it on LeetCode; the chapter column links to the handbook chapter that covers it.

Problems
27
Easy
1
Medium
20
Hard
6
Mapped to chapter
13

Array

12 problems

Easy 1

#TitleDifficultyAlso atChapter
628Maximum Product of Three Numbersalso at:AmazonBloombergIntuit Also at 1 moreMicrosoft Easy

Hard 3

#TitleDifficultyAlso atChapter
992Subarrays with K Different Integersalso at:AmazonBloombergGoogle Also at 4 moreMicrosoftMorgan StanleyRobloxZoom Hard
2534Time Taken to Cross the Dooralso at:Google Hard
2603Collect Coins in a Treealso at:CiscoMeeshoPhonePe Hard

String

5 problems

Hard 1

#TitleDifficultyAlso atChapter
664Strange Printeralso at:InMobi HardChapter

Hash Table

4 problems

Misc

6 problems