Salesforce vs Samsung Interview Questions

Salesforce lists 188 LeetCode interview questions while Samsung lists 65. They share 24 problems — 13% of Salesforce's bank and 37% of Samsung's. Focus on the overlap first, then drill into 164 Salesforce-only and 41 Samsung-only questions.

Read the full Salesforce vs Samsung preparation guide →

Overview

Salesforce

188 questions

Easy 25Medium 112Hard 51
Samsung

65 questions

Easy 12Medium 36Hard 17

Preparation Strategy

Step 1 — Shared core: Solve the 24 overlapping problems first. These are the highest-yield questions for candidates interviewing at both Salesforce and Samsung.

Step 2 — Company-specific depth: Add Salesforce-specific problems like Minimum Operations to Reduce an Integer to 0, String Compression, Time Needed to Rearrange a Binary String and Samsung-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

Easy
Salesforce
25
Samsung
12
Medium
Salesforce
112
Samsung
36
Hard
Salesforce
51
Samsung
17

Top Shared Topics

24 Shared Questions

High-priority problems to practice for both Salesforce and Samsung.

ProblemDifficulty
Subarray Product Less Than KMedium
LRU CacheMedium
Number of IslandsMedium
Merge IntervalsMedium
Best Time to Buy and Sell StockEasy
Longest Palindromic SubstringMedium
Trapping Rain WaterHard
Two SumEasy
Word SearchMedium
Coin ChangeMedium
Maximum SubarrayMedium
Median of Two Sorted ArraysHard
Word LadderHard
Merge k Sorted ListsHard
Sort ColorsMedium
Rotting OrangesMedium
Generate ParenthesesMedium
3SumMedium
Search in Rotated Sorted ArrayMedium
Valid ParenthesesEasy
Longest Increasing SubsequenceMedium
Burst BalloonsHard
Vertical Order Traversal of a Binary TreeHard
Partition Array Into Two Arrays to Minimize Sum DifferenceHard

Unique to Salesforce (164)

Problems in Salesforce's list that do not appear at Samsung.

ProblemDifficulty
Minimum Operations to Reduce an Integer to 0Medium
String CompressionMedium
Time Needed to Rearrange a Binary StringMedium
LFU CacheHard
Closest Equal Element QueriesMedium
Smallest Substring With Identical Characters IHard
Smallest Substring With Identical Characters IIHard
Remove Adjacent Almost-Equal CharactersMedium
Maximum Palindromes After OperationsMedium
Maximum Number of Occurrences of a SubstringMedium
Maximum Product of Three NumbersEasy
Minimize Malware SpreadHard

Unique to Samsung (41)

Problems in Samsung's list that do not appear at Salesforce.

ProblemDifficulty
Minimum Cost of a Path With Special RoadsMedium
Minimize Deviation in ArrayHard
Number of Paths with Max ScoreHard
Count Prefix and Suffix Pairs IIHard
Mark Elements on Array by Performing QueriesMedium
Substring with Concatenation of All WordsHard
Guess Number Higher or LowerEasy
Maximum Product of Two Elements in an ArrayEasy
Faulty KeyboardEasy
Number of Nodes in the Sub-Tree With the Same LabelMedium
Stone Game IXMedium
Two Sum IV - Input is a BSTEasy

Frequently Asked Questions

How many LeetCode questions do Salesforce and Samsung share?

Salesforce and Samsung share 24 LeetCode interview questions. 164 problems appear only in Salesforce's list and 41 appear only in Samsung's list.

What topics overlap most between Salesforce and Samsung?

The most common shared topics between Salesforce and Samsung are Array (17 shared questions), Dynamic Programming (9 shared questions), Binary Search (5 shared questions), Breadth-First Search (5 shared questions), Sorting (5 shared questions). Mastering these areas prepares you for both companies.

Which company asks harder LeetCode questions: Salesforce or Samsung?

Salesforce has 25 Easy, 112 Medium, and 51 Hard questions. Samsung has 12 Easy, 36 Medium, and 17 Hard questions. Salesforce has a higher proportion of Hard problems in its interview set.

How should I prepare if interviewing at both Salesforce and Samsung?

Start with the 24 shared problems since they cover what both companies ask most often. Then add 20 Salesforce-specific and 20 Samsung-specific questions to round out your prep.

Explore More