NVIDIA vs Salesforce Interview Questions
NVIDIA lists 136 LeetCode interview questions while Salesforce lists 188. They share 50 problems — 37% of NVIDIA's bank and 27% of Salesforce's. Focus on the overlap first, then drill into 86 NVIDIA-only and 138 Salesforce-only questions.
Overview
Preparation Strategy
Step 1 — Shared core: Solve the 50 overlapping problems first. These are the highest-yield questions for candidates interviewing at both NVIDIA and Salesforce.
Step 2 — Company-specific depth: Add NVIDIA-specific problems like Special Binary String, Maximize Greatness of an Array, Maximum Number of Visible Points 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
Top Shared Topics
50 Shared Questions
High-priority problems to practice for both NVIDIA and Salesforce.
| Problem | Difficulty |
|---|---|
| LRU Cache | Medium |
| Longest Substring Without Repeating Characters | Medium |
| Best Time to Buy and Sell Stock | Easy |
| Two Sum | Easy |
| Merge k Sorted Lists | Hard |
| Group Anagrams | Medium |
| Valid Parentheses | Easy |
| Minimum Operations to Reduce an Integer to 0 | Medium |
| Last Stone Weight | Easy |
| Maximum Subarray | Medium |
| Number of Islands | Medium |
| Search in Rotated Sorted Array | Medium |
| Trapping Rain Water | Hard |
| Missing Number | Easy |
| Find the Duplicate Number | Medium |
| Container With Most Water | Medium |
| Merge Intervals | Medium |
| Sliding Window Maximum | Hard |
| Top K Frequent Elements | Medium |
| Minimum Absolute Difference | Easy |
| Remove Stones to Minimize the Total | Medium |
| Asteroid Collision | Medium |
| Product of Array Except Self | Medium |
| String Compression | Medium |
| Subarray Sum Equals K | Medium |
| Min Stack | Medium |
| Generate Parentheses | Medium |
| Maximal Square | Medium |
| Find Median from Data Stream | Hard |
| Course Schedule II | Medium |
Showing top 30 of 50 shared problems.
Unique to NVIDIA (86)
Problems in NVIDIA's list that do not appear at Salesforce.
| Problem | Difficulty |
|---|---|
| Special Binary String | Hard |
| Maximize Greatness of an Array | Medium |
| Maximum Number of Visible Points | Hard |
| Restore IP Addresses | Medium |
| Fizz Buzz | Easy |
| Reverse Bits | Easy |
| Dot Product of Two Sparse Vectors | Medium |
| Task Scheduler II | Medium |
| Move Zeroes | Easy |
| Reverse Words in a String | Medium |
| Rotate List | Medium |
| Find The Original Array of Prefix Xor | Medium |
Unique to Salesforce (138)
Problems in Salesforce's list that do not appear at NVIDIA.
Frequently Asked Questions
How many LeetCode questions do NVIDIA and Salesforce share?
NVIDIA and Salesforce share 50 LeetCode interview questions. 86 problems appear only in NVIDIA's list and 138 appear only in Salesforce's list.
What topics overlap most between NVIDIA and Salesforce?
The most common shared topics between NVIDIA and Salesforce are Array (20 shared questions), Hash Table (7 shared questions), Dynamic Programming (6 shared questions), Heap (Priority Queue) (6 shared questions), Sorting (6 shared questions). Mastering these areas prepares you for both companies.
Which company asks harder LeetCode questions: NVIDIA or Salesforce?
NVIDIA has 32 Easy, 89 Medium, and 15 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 NVIDIA and Salesforce?
Start with the 50 shared problems since they cover what both companies ask most often. Then add 20 NVIDIA-specific and 20 Salesforce-specific questions to round out your prep.