Pinterest vs Salesforce Interview Questions

Pinterest lists 49 LeetCode interview questions while Salesforce lists 188. They share 11 problems — 22% of Pinterest's bank and 6% of Salesforce's. Focus on the overlap first, then drill into 38 Pinterest-only and 177 Salesforce-only questions.

Overview

Pinterest

49 questions

Easy 1Medium 29Hard 19
Salesforce

188 questions

Easy 25Medium 112Hard 51

Preparation Strategy

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

Step 2 — Company-specific depth: Add Pinterest-specific problems like Count and Say, Shortest Path in a Grid with Obstacles Elimination, Count Subarrays With Score Less Than K and Salesforce-specific problems from the exclusive lists below.

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

Difficulty Comparison

Easy
Pinterest
1
Salesforce
25
Medium
Pinterest
29
Salesforce
112
Hard
Pinterest
19
Salesforce
51

Top Shared Topics

11 Shared Questions

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

ProblemDifficulty
Reconstruct ItineraryHard
Optimal Account BalancingHard
Bus RoutesHard
Find Median from Data StreamHard
Reorganize StringMedium
Coin ChangeMedium
String CompressionMedium
Combination SumMedium
Top K Frequent ElementsMedium
Meeting Rooms IIMedium
Number of IslandsMedium

Unique to Pinterest (38)

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

ProblemDifficulty
Count and SayMedium
Shortest Path in a Grid with Obstacles EliminationHard
Count Subarrays With Score Less Than KHard
Maximum Profit in Job SchedulingHard
Expression Add OperatorsHard
Shortest Way to Form StringMedium
Is SubsequenceEasy
Design Search Autocomplete SystemHard
Longest Word in DictionaryMedium
Find Median Given Frequency of NumbersHard
Jump Game IIIMedium
Find K-th Smallest Pair DistanceHard

Unique to Salesforce (177)

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

ProblemDifficulty
Minimum Operations to Reduce an Integer to 0Medium
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
Maximum Product of Three NumbersEasy

Frequently Asked Questions

How many LeetCode questions do Pinterest and Salesforce share?

Pinterest and Salesforce share 11 LeetCode interview questions. 38 problems appear only in Pinterest's list and 177 appear only in Salesforce's list.

What topics overlap most between Pinterest and Salesforce?

The most common shared topics between Pinterest and Salesforce are Array (7 shared questions), Sorting (4 shared questions), Heap (Priority Queue) (4 shared questions), Hash Table (3 shared questions), Breadth-First Search (3 shared questions). Mastering these areas prepares you for both companies.

Which company asks harder LeetCode questions: Pinterest or Salesforce?

Pinterest has 1 Easy, 29 Medium, and 19 Hard questions. Salesforce has 25 Easy, 112 Medium, and 51 Hard questions. Pinterest has a higher proportion of Hard problems in its interview set.

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

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

Explore More