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.
Overview
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
Top Shared Topics
76 Shared Questions
High-priority problems to practice for both Salesforce and Uber.
| Problem | Difficulty |
|---|---|
| Minimum Operations to Reduce an Integer to 0 | Medium |
| LFU Cache | Hard |
| LRU Cache | Medium |
| Minimize Malware Spread | Hard |
| Longest Substring Without Repeating Characters | Medium |
| Maximum Frequency Stack | Hard |
| Course Schedule II | Medium |
| Group Anagrams | Medium |
| Number of Islands | Medium |
| Merge Intervals | Medium |
| Binary Tree Maximum Path Sum | Hard |
| Best Time to Buy and Sell Stock | Easy |
| Minimum Number of Taps to Open to Water a Garden | Hard |
| Reverse Nodes in k-Group | Hard |
| Longest Palindromic Substring | Medium |
| Trapping Rain Water | Hard |
| Count Palindromic Subsequences | Hard |
| Two Sum | Easy |
| Min Stack | Medium |
| Minimum Window Substring | Hard |
| Kth Largest Element in an Array | Medium |
| Top K Frequent Elements | Medium |
| Asteroid Collision | Medium |
| Word Search | Medium |
| Search Suggestions System | Medium |
| Koko Eating Bananas | Medium |
| Subarrays with K Different Integers | Hard |
| Container With Most Water | Medium |
| Coin Change | Medium |
| Maximum Subarray | Medium |
Showing top 30 of 76 shared problems.
Unique to Salesforce (112)
Problems in Salesforce's list that do not appear at Uber.
Unique to Uber (286)
Problems in Uber's list that do not appear at Salesforce.
| Problem | Difficulty |
|---|---|
| Alien Dictionary | Hard |
| Number of Islands II | Hard |
| Squares of a Sorted Array | Easy |
| Construct Quad Tree | Medium |
| Kth Smallest Element in a BST | Medium |
| First Unique Number | Medium |
| Find the Closest Palindrome | Hard |
| Insert Delete GetRandom O(1) | Medium |
| Design Hit Counter | Medium |
| Word Search II | Hard |
| My Calendar I | Medium |
| Count Paths That Can Form a Palindrome in a Tree | Hard |
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.