DE Shaw vs Salesforce Interview Questions

DE Shaw lists 105 LeetCode interview questions while Salesforce lists 188. They share 21 problems — 20% of DE Shaw's bank and 11% of Salesforce's. Focus on the overlap first, then drill into 84 DE Shaw-only and 167 Salesforce-only questions.

Read the full DE Shaw vs Salesforce preparation guide →

Overview

DE Shaw

105 questions

Easy 11Medium 64Hard 30
Salesforce

188 questions

Easy 25Medium 112Hard 51

Preparation Strategy

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

Step 2 — Company-specific depth: Add DE Shaw-specific problems like Binary Tree Cameras, Find Minimum Cost to Remove Array Elements, Maximum Number of Subsequences After One Inserting and Salesforce-specific problems from the exclusive lists below.

Step 3 — Difficulty tuning: DE Shaw skews harder in our data. Budget extra time for Hard problems if you are targeting that company.

Difficulty Comparison

Easy
DE Shaw
11
Salesforce
25
Medium
DE Shaw
64
Salesforce
112
Hard
DE Shaw
30
Salesforce
51

Top Shared Topics

21 Shared Questions

High-priority problems to practice for both DE Shaw and Salesforce.

ProblemDifficulty
Minimum Number of Taps to Open to Water a GardenHard
Trapping Rain WaterHard
Valid ParenthesesEasy
Using a Robot to Print the Lexicographically Smallest StringMedium
Reorganize StringMedium
Sliding Window MaximumHard
Koko Eating BananasMedium
Rotting OrangesMedium
Maximum Product SubarrayMedium
Average Waiting TimeMedium
Coin Change IIMedium
LRU CacheMedium
Asteroid CollisionMedium
Median of Two Sorted ArraysHard
Number of IslandsMedium
Best Time to Buy and Sell StockEasy
Longest Substring Without Repeating CharactersMedium
House Robber IIMedium
Count Binary SubstringsEasy
Container With Most WaterMedium
Two SumEasy

Unique to DE Shaw (84)

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

ProblemDifficulty
Binary Tree CamerasHard
Find Minimum Cost to Remove Array ElementsMedium
Maximum Number of Subsequences After One InsertingMedium
Minimum Size Subarray in Infinite ArrayMedium
Maximum Subsequence ScoreMedium
Maximum Points After Collecting Coins From All NodesHard
Maximum Points Tourist Can EarnMedium
Max Number of K-Sum PairsMedium
Number of Subarrays With AND Value of KHard
Relative Sort ArrayEasy
Sum GameMedium
Find Peak Calling Hours for Each CityMedium

Unique to Salesforce (167)

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

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
Maximum Number of Occurrences of a SubstringMedium
Maximum Product of Three NumbersEasy

Frequently Asked Questions

How many LeetCode questions do DE Shaw and Salesforce share?

DE Shaw and Salesforce share 21 LeetCode interview questions. 84 problems appear only in DE Shaw's list and 167 appear only in Salesforce's list.

What topics overlap most between DE Shaw and Salesforce?

The most common shared topics between DE Shaw and Salesforce are Array (15 shared questions), Dynamic Programming (6 shared questions), String (5 shared questions), Hash Table (5 shared questions), Greedy (4 shared questions). Mastering these areas prepares you for both companies.

Which company asks harder LeetCode questions: DE Shaw or Salesforce?

DE Shaw has 11 Easy, 64 Medium, and 30 Hard questions. Salesforce has 25 Easy, 112 Medium, and 51 Hard questions. DE Shaw has a higher proportion of Hard problems in its interview set.

How should I prepare if interviewing at both DE Shaw and Salesforce?

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

Explore More