Salesforce vs Yandex Interview Questions

Salesforce lists 188 LeetCode interview questions while Yandex lists 128. They share 38 problems — 20% of Salesforce's bank and 30% of Yandex's. Focus on the overlap first, then drill into 150 Salesforce-only and 90 Yandex-only questions.

Read the full Salesforce vs Yandex preparation guide →

Overview

Salesforce

188 questions

Easy 25Medium 112Hard 51
Yandex

128 questions

Easy 51Medium 67Hard 10

Preparation Strategy

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

Step 2 — Company-specific depth: Add Salesforce-specific problems like Minimum Operations to Reduce an Integer to 0, Time Needed to Rearrange a Binary String, LFU Cache and Yandex-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
Salesforce
25
Yandex
51
Medium
Salesforce
112
Yandex
67
Hard
Salesforce
51
Yandex
10

Top Shared Topics

38 Shared Questions

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

ProblemDifficulty
String CompressionMedium
LRU CacheMedium
Longest Substring Without Repeating CharactersMedium
Group AnagramsMedium
Number of IslandsMedium
Merge IntervalsMedium
Binary Tree Maximum Path SumHard
Best Time to Buy and Sell StockEasy
Longest Palindromic SubstringMedium
Trapping Rain WaterHard
Two SumEasy
Min StackMedium
Minimum Window SubstringHard
Top K Frequent ElementsMedium
Subarrays with K Different IntegersHard
Container With Most WaterMedium
Coin ChangeMedium
Maximum SubarrayMedium
Median of Two Sorted ArraysHard
Validate Binary Search TreeMedium
Merge k Sorted ListsHard
Rotting OrangesMedium
Generate ParenthesesMedium
Find Median from Data StreamHard
Search in Rotated Sorted ArrayMedium
Max Consecutive Ones IIIMedium
Merge Two Sorted ListsEasy
Valid ParenthesesEasy
Reconstruct ItineraryHard
Longest Increasing SubsequenceMedium

Showing top 30 of 38 shared problems.

Unique to Salesforce (150)

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

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
Maximum Number of Occurrences of a SubstringMedium
Maximum Product of Three NumbersEasy
Minimize Malware SpreadHard

Unique to Yandex (90)

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

ProblemDifficulty
Longest Subarray of 1's After Deleting One ElementMedium
Summary RangesEasy
Maximize Distance to Closest PersonMedium
Valid Palindrome IIEasy
Move ZeroesEasy
One Edit DistanceMedium
Permutation in StringMedium
Isomorphic StringsEasy
Line ReflectionMedium
Longest Strictly Increasing or Strictly Decreasing SubarrayEasy
Find All Anagrams in a StringMedium
Find the Prefix Common Array of Two ArraysMedium

Frequently Asked Questions

How many LeetCode questions do Salesforce and Yandex share?

Salesforce and Yandex share 38 LeetCode interview questions. 150 problems appear only in Salesforce's list and 90 appear only in Yandex's list.

What topics overlap most between Salesforce and Yandex?

The most common shared topics between Salesforce and Yandex are Array (17 shared questions), String (8 shared questions), Dynamic Programming (8 shared questions), Hash Table (7 shared questions), Two Pointers (5 shared questions). Mastering these areas prepares you for both companies.

Which company asks harder LeetCode questions: Salesforce or Yandex?

Salesforce has 25 Easy, 112 Medium, and 51 Hard questions. Yandex has 51 Easy, 67 Medium, and 10 Hard questions. Salesforce has a higher proportion of Hard problems in its interview set.

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

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

Explore More