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.

Read the full NVIDIA vs Salesforce preparation guide →

Overview

NVIDIA

136 questions

Easy 32Medium 89Hard 15
Salesforce

188 questions

Easy 25Medium 112Hard 51

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

Easy
NVIDIA
32
Salesforce
25
Medium
NVIDIA
89
Salesforce
112
Hard
NVIDIA
15
Salesforce
51

Top Shared Topics

50 Shared Questions

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

ProblemDifficulty
LRU CacheMedium
Longest Substring Without Repeating CharactersMedium
Best Time to Buy and Sell StockEasy
Two SumEasy
Merge k Sorted ListsHard
Group AnagramsMedium
Valid ParenthesesEasy
Minimum Operations to Reduce an Integer to 0Medium
Last Stone WeightEasy
Maximum SubarrayMedium
Number of IslandsMedium
Search in Rotated Sorted ArrayMedium
Trapping Rain WaterHard
Missing NumberEasy
Find the Duplicate NumberMedium
Container With Most WaterMedium
Merge IntervalsMedium
Sliding Window MaximumHard
Top K Frequent ElementsMedium
Minimum Absolute DifferenceEasy
Remove Stones to Minimize the TotalMedium
Asteroid CollisionMedium
Product of Array Except SelfMedium
String CompressionMedium
Subarray Sum Equals KMedium
Min StackMedium
Generate ParenthesesMedium
Maximal SquareMedium
Find Median from Data StreamHard
Course Schedule IIMedium

Showing top 30 of 50 shared problems.

Unique to NVIDIA (86)

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

ProblemDifficulty
Special Binary StringHard
Maximize Greatness of an ArrayMedium
Maximum Number of Visible PointsHard
Restore IP AddressesMedium
Fizz BuzzEasy
Reverse BitsEasy
Dot Product of Two Sparse VectorsMedium
Task Scheduler IIMedium
Move ZeroesEasy
Reverse Words in a StringMedium
Rotate ListMedium
Find The Original Array of Prefix XorMedium

Unique to Salesforce (138)

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

ProblemDifficulty
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
Minimize Malware SpreadHard
Distinct SubsequencesHard
Power Grid MaintenanceMedium

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.

Explore More