Salesforce vs Uber Interview Questions

Salesforce lists 188 LeetCode interview questions while Uber lists 362. They share 76 problems — 40% of Salesforce's bank and 21% of Uber's. Focus on the overlap first, then drill into 112 Salesforce-only and 286 Uber-only questions.

Read the full Salesforce vs Uber preparation guide →

Overview

Salesforce

188 questions

Easy 25Medium 112Hard 51
Uber

362 questions

Easy 45Medium 215Hard 102

Preparation Strategy

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

Step 2 — Company-specific depth: Add Salesforce-specific problems like String Compression, Time Needed to Rearrange a Binary String, Closest Equal Element Queries and Uber-specific problems from the exclusive lists below.

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

Difficulty Comparison

Easy
Salesforce
25
Uber
45
Medium
Salesforce
112
Uber
215
Hard
Salesforce
51
Uber
102

Top Shared Topics

76 Shared Questions

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

ProblemDifficulty
Minimum Operations to Reduce an Integer to 0Medium
LFU CacheHard
LRU CacheMedium
Minimize Malware SpreadHard
Longest Substring Without Repeating CharactersMedium
Maximum Frequency StackHard
Course Schedule IIMedium
Group AnagramsMedium
Number of IslandsMedium
Merge IntervalsMedium
Binary Tree Maximum Path SumHard
Best Time to Buy and Sell StockEasy
Minimum Number of Taps to Open to Water a GardenHard
Reverse Nodes in k-GroupHard
Longest Palindromic SubstringMedium
Trapping Rain WaterHard
Count Palindromic SubsequencesHard
Two SumEasy
Min StackMedium
Minimum Window SubstringHard
Kth Largest Element in an ArrayMedium
Top K Frequent ElementsMedium
Asteroid CollisionMedium
Word SearchMedium
Search Suggestions SystemMedium
Koko Eating BananasMedium
Subarrays with K Different IntegersHard
Container With Most WaterMedium
Coin ChangeMedium
Maximum SubarrayMedium

Showing top 30 of 76 shared problems.

Unique to Salesforce (112)

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

ProblemDifficulty
String CompressionMedium
Time Needed to Rearrange a Binary StringMedium
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
Distinct SubsequencesHard
Power Grid MaintenanceMedium

Unique to Uber (286)

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

ProblemDifficulty
Alien DictionaryHard
Number of Islands IIHard
Squares of a Sorted ArrayEasy
Construct Quad TreeMedium
Kth Smallest Element in a BSTMedium
First Unique NumberMedium
Find the Closest PalindromeHard
Insert Delete GetRandom O(1)Medium
Design Hit CounterMedium
Word Search IIHard
My Calendar IMedium
Count Paths That Can Form a Palindrome in a TreeHard

Frequently Asked Questions

How many LeetCode questions do Salesforce and Uber share?

Salesforce and Uber share 76 LeetCode interview questions. 112 problems appear only in Salesforce's list and 286 appear only in Uber's list.

What topics overlap most between Salesforce and Uber?

The most common shared topics between Salesforce and Uber are Array (18 shared questions), Hash Table (10 shared questions), Dynamic Programming (9 shared questions), String (7 shared questions), Depth-First Search (5 shared questions). Mastering these areas prepares you for both companies.

Which company asks harder LeetCode questions: Salesforce or Uber?

Salesforce has 25 Easy, 112 Medium, and 51 Hard questions. Uber has 45 Easy, 215 Medium, and 102 Hard questions. Uber has a higher proportion of Hard problems in its interview set.

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

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

Explore More