Deloitte vs Salesforce Interview Questions

Deloitte lists 43 LeetCode interview questions while Salesforce lists 188. They share 16 problems — 37% of Deloitte's bank and 9% of Salesforce's. Focus on the overlap first, then drill into 27 Deloitte-only and 172 Salesforce-only questions.

Overview

Deloitte

43 questions

Easy 17Medium 23Hard 3
Salesforce

188 questions

Easy 25Medium 112Hard 51

Preparation Strategy

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

Step 2 — Company-specific depth: Add Deloitte-specific problems like Change Null Values in a Table to the Previous Value, Second Highest Salary, Longest Common Prefix and Salesforce-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
Deloitte
17
Salesforce
25
Medium
Deloitte
23
Salesforce
112
Hard
Deloitte
3
Salesforce
51

Top Shared Topics

16 Shared Questions

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

ProblemDifficulty
Merge k Sorted ListsHard
Two SumEasy
Valid ParenthesesEasy
Longest Substring Without Repeating CharactersMedium
Longest Palindromic SubstringMedium
Best Time to Buy and Sell StockEasy
Container With Most WaterMedium
Valid PalindromeEasy
Merge IntervalsMedium
3SumMedium
Maximum SubarrayMedium
Group AnagramsMedium
Coin ChangeMedium
Kth Largest Element in an ArrayMedium
Roman to IntegerEasy
Subarray Sum Equals KMedium

Unique to Deloitte (27)

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

ProblemDifficulty
Change Null Values in a Table to the Previous ValueMedium
Second Highest SalaryMedium
Longest Common PrefixEasy
Palindrome NumberEasy
Climbing StairsEasy
Add BinaryEasy
Managers with at Least 5 Direct ReportsMedium
Minimum Time to Repair CarsMedium
First Unique Character in a StringEasy
Nth Highest SalaryMedium
Remove Duplicates from Sorted ArrayEasy
Remove K DigitsMedium

Unique to Salesforce (172)

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

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
Subarray Product Less Than KMedium
Maximum Palindromes After OperationsMedium
LRU CacheMedium
Maximum Number of Occurrences of a SubstringMedium

Frequently Asked Questions

How many LeetCode questions do Deloitte and Salesforce share?

Deloitte and Salesforce share 16 LeetCode interview questions. 27 problems appear only in Deloitte's list and 172 appear only in Salesforce's list.

What topics overlap most between Deloitte and Salesforce?

The most common shared topics between Deloitte and Salesforce are Array (10 shared questions), String (6 shared questions), Hash Table (5 shared questions), Two Pointers (4 shared questions), Dynamic Programming (4 shared questions). Mastering these areas prepares you for both companies.

Which company asks harder LeetCode questions: Deloitte or Salesforce?

Deloitte has 17 Easy, 23 Medium, and 3 Hard questions. Salesforce has 25 Easy, 112 Medium, and 51 Hard questions. Salesforce has a higher proportion of Hard problems in its interview set.

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

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

Explore More