Skip to content

Interview Solver

FeaturesPricingHelp
Sign In
FeaturesPricingHelpSign In
  1. Interview Questions
  2. /
  3. Salesforce

Salesforce LeetCode Interview Questions

Practice 46 real coding problems frequently asked in Salesforce technical interviews. Master these questions to ace your next Salesforce software engineering interview.

9 Easy
29 Medium
8 Hard

Top Topics at Salesforce

ArrayStringTwo PointersSortingHash Table

Ace your Salesforce interview with AI

Get real-time AI assistance during your actual interview. Invisible to screensharing.

Start Free Trial

Salesforce Interview Problems

ProblemDifficultyDiffFrequencyTopicsAction
Minimum Path Sum
100%
MediumM
100%
ArrayDynamic Programming+1
Solve→
Maximum Beauty of an Array After Applying Operation
93%
MediumM
93%
ArrayBinary Search+2
Solve→
Maximum Product Subarray
93%
MediumM
93%
ArrayDynamic Programming
Solve→
Remove Nth Node From End of List
92%
MediumM
92%
Linked ListTwo Pointers
Solve→
Valid Number
91%
HardH
91%
String
Solve→
Reverse Integer
88%
MediumM
88%
Math
Solve→
Squares of a Sorted Array
85%
EasyE
85%
ArrayTwo Pointers+1
Solve→
Binary Tree Maximum Path Sum
84%
HardH
84%
Dynamic ProgrammingTree+2
Solve→
Recyclable and Low Fat Products
82%
EasyE
82%
Database
Solve→
Capacity To Ship Packages Within D Days
82%
MediumM
82%
ArrayBinary Search
Solve→
K Closest Points to Origin
82%
MediumM
82%
ArrayMath+5
Solve→
Check If a Word Occurs As a Prefix of Any Word in a Sentence
80%
EasyE
80%
Two PointersString+1
Solve→
Frequency of the Most Frequent Element
79%
MediumM
79%
ArrayBinary Search+4
Solve→
Maximum Number of Events That Can Be Attended
76%
MediumM
76%
ArrayGreedy+2
Solve→
Plus One
76%
EasyE
76%
ArrayMath
Solve→
Binary Search Tree Iterator
75%
MediumM
75%
StackTree+4
Solve→
Valid Palindrome III
74%
HardH
74%
StringDynamic Programming
Solve→
Remove Letter To Equalize Frequency
71%
EasyE
71%
Hash TableString+1
Solve→
Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit
67%
MediumM
67%
ArrayQueue+4
Solve→
Analyze User Website Visit Pattern
64%
MediumM
64%
ArrayHash Table+1
Solve→
All Nodes Distance K in Binary Tree
64%
MediumM
64%
Hash TableTree+3
Solve→
Find the Celebrity
63%
MediumM
63%
Two PointersGraph+1
Solve→
Maximum Size Subarray Sum Equals k
62%
MediumM
62%
ArrayHash Table+1
Solve→
Zigzag Conversion
60%
MediumM
60%
String
Solve→
Combination Sum II
59%
MediumM
59%
ArrayBacktracking
Solve→

Pass your interview with AI assistance

Get real-time solutions during your actual coding interview. Invisible to screensharing.

Start Free Trial
Meeting Rooms II
58%
MediumM
58%
ArrayTwo Pointers+4
Solve→
Container With Most Water
58%
MediumM
58%
ArrayTwo Pointers+1
Solve→
Reverse Nodes in k-Group
55%
HardH
55%
Linked ListRecursion
Solve→
Search Insert Position
54%
EasyE
54%
ArrayBinary Search
Solve→
Reverse Words in a String
53%
MediumM
53%
Two PointersString
Solve→
Maximum Subarray
52%
MediumM
52%
ArrayDivide and Conquer+1
Solve→
Minimum Absolute Difference
51%
EasyE
51%
ArraySorting
Solve→
Maximize Amount After Two Days of Conversions
47%
MediumM
47%
ArrayString+3
Solve→
Basic Calculator
46%
HardH
46%
MathString+2
Solve→
Roman to Integer
44%
EasyE
44%
Hash TableMath+1
Solve→
Word Ladder
42%
HardH
42%
Hash TableString+1
Solve→
Shortest Word Distance II
41%
MediumM
41%
ArrayHash Table+3
Solve→
Move Pieces to Obtain a String
41%
MediumM
41%
Two PointersString
Solve→
Rank Transform of a Matrix
34%
HardH
34%
ArrayUnion Find+4
Solve→
Decode String
34%
MediumM
34%
StringStack+1
Solve→
Subsets
33%
MediumM
33%
ArrayBacktracking+1
Solve→
Minimum Array Sum
33%
MediumM
33%
ArrayDynamic Programming
Solve→
Add Two Integers
28%
EasyE
28%
Math
Solve→
Make String a Subsequence Using Cyclic Increments
26%
MediumM
26%
Two PointersString
Solve→
Permutations
21%
MediumM
21%
ArrayBacktracking
Solve→
Sliding Window Maximum
21%
HardH
21%
ArrayQueue+3
Solve→

Similar Companies

Explore interview questions from other companies with similar interview patterns.

Alten
46 problems
Arista Networks
46 problems
Automattic
46 problems
Bandwidth
46 problems
Biontech
46 problems
Bumble
46 problems

Frequently Asked Questions

What LeetCode problems does Salesforce ask in interviews?

Salesforce commonly asks 46 coding problems in technical interviews, including Minimum Path Sum, Maximum Beauty of an Array After Applying Operation, Maximum Product Subarray. The difficulty breakdown is 9 Easy, 29 Medium, and 8 Hard problems.

How should I prepare for a Salesforce coding interview?

Focus on the most frequently asked problems first, especially those with high frequency scores. Salesforce interviews typically emphasize Array and String. Practice explaining your thought process while coding.

What is the difficulty level of Salesforce coding interviews?

Based on our data, Salesforce interviews include 9 Easy (20%), 29 Medium (63%), and 8 Hard (17%) problems.

Ready to ace your Salesforce interview?

Join thousands of engineers who landed offers at top tech companies.

Get Started Free

No credit card required

All CompaniesEasy ProblemsMedium ProblemsHard ProblemsBrowse by Topic
Interview Solver
  • Home
  • Pricing
  • Sign in
  • Contact
  • Blog
  • Companion
  • Help Center
  • Use Cases
  • Software Engineer
  • Product Manager
  • Misc
  • Privacy Policy
  • Terms and Conditions
  • Discord Community
  • Affiliate Program
  • Compare
  • All Comparisons
  • vs Final Round AI
  • vs UltraCode
  • vs Interview Coder
  • vs LockedIn AI
  • vs AI Apply
  • Free Tools
  • ATS Resume Checker
  • STAR Method Builder
  • Salary Lookup
  • Big O Cheat Sheet
  • Total Comp Calculator
  • View All →
  • Interview Questions
  • Google Questions
  • Amazon Questions
  • Microsoft Questions
  • Meta Questions
  • Apple Questions
  • TikTok Questions
  • View All →
© 2026 Interview Solver, Inc. All rights reserved.