Lyft vs Salesforce Interview Questions

Lyft lists 26 LeetCode interview questions while Salesforce lists 188. They share 10 problems — 38% of Lyft's bank and 5% of Salesforce's. Focus on the overlap first, then drill into 16 Lyft-only and 178 Salesforce-only questions.

Overview

Lyft

26 questions

Easy 0Medium 19Hard 7
Salesforce

188 questions

Easy 25Medium 112Hard 51

Preparation Strategy

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

Step 2 — Company-specific depth: Add Lyft-specific problems like Read N Characters Given read4 II - Call Multiple Times, Max Stack, Convert Sorted List to Binary Search Tree 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
Lyft
0
Salesforce
25
Medium
Lyft
19
Salesforce
112
Hard
Lyft
7
Salesforce
51

Top Shared Topics

10 Shared Questions

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

ProblemDifficulty
Rotting OrangesMedium
Time Based Key-Value StoreMedium
Minimum Window SubstringHard
String CompressionMedium
Range Sum Query 2D - ImmutableMedium
Min StackMedium
Longest Substring Without Repeating CharactersMedium
Meeting Rooms IIMedium
Asteroid CollisionMedium
Product of Array Except SelfMedium

Unique to Lyft (16)

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

ProblemDifficulty
Read N Characters Given read4 II - Call Multiple TimesHard
Max StackHard
Convert Sorted List to Binary Search TreeMedium
Check Completeness of a Binary TreeMedium
Car PoolingMedium
Smallest Range Covering Elements from K ListsHard
Word Ladder IIHard
Longest Consecutive SequenceMedium
Decode WaysMedium
Water and Jug ProblemMedium
Implement Trie (Prefix Tree)Medium
Sort ListMedium

Unique to Salesforce (178)

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

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 Lyft and Salesforce share?

Lyft and Salesforce share 10 LeetCode interview questions. 16 problems appear only in Lyft's list and 178 appear only in Salesforce's list.

What topics overlap most between Lyft and Salesforce?

The most common shared topics between Lyft and Salesforce are Array (5 shared questions), String (4 shared questions), Hash Table (3 shared questions), Design (3 shared questions), Prefix Sum (3 shared questions). Mastering these areas prepares you for both companies.

Which company asks harder LeetCode questions: Lyft or Salesforce?

Lyft has 0 Easy, 19 Medium, and 7 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 Lyft and Salesforce?

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

Explore More