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.
Overview
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
Top Shared Topics
21 Shared Questions
High-priority problems to practice for both DE Shaw and Salesforce.
| Problem | Difficulty |
|---|---|
| Minimum Number of Taps to Open to Water a Garden | Hard |
| Trapping Rain Water | Hard |
| Valid Parentheses | Easy |
| Using a Robot to Print the Lexicographically Smallest String | Medium |
| Reorganize String | Medium |
| Sliding Window Maximum | Hard |
| Koko Eating Bananas | Medium |
| Rotting Oranges | Medium |
| Maximum Product Subarray | Medium |
| Average Waiting Time | Medium |
| Coin Change II | Medium |
| LRU Cache | Medium |
| Asteroid Collision | Medium |
| Median of Two Sorted Arrays | Hard |
| Number of Islands | Medium |
| Best Time to Buy and Sell Stock | Easy |
| Longest Substring Without Repeating Characters | Medium |
| House Robber II | Medium |
| Count Binary Substrings | Easy |
| Container With Most Water | Medium |
| Two Sum | Easy |
Unique to DE Shaw (84)
Problems in DE Shaw's list that do not appear at Salesforce.
Unique to Salesforce (167)
Problems in Salesforce's list that do not appear at DE Shaw.
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.