SAP vs Yelp Interview Questions

SAP lists 42 LeetCode interview questions while Yelp lists 27. They share 6 problems — 14% of SAP's bank and 22% of Yelp's. Focus on the overlap first, then drill into 36 SAP-only and 21 Yelp-only questions.

Overview

SAP

42 questions

Easy 14Medium 21Hard 7
Yelp

27 questions

Easy 7Medium 15Hard 5

Preparation Strategy

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

Step 2 — Company-specific depth: Add SAP-specific problems like Movie Rating, Maximum Path Quality of a Graph, Count the Number of Infection Sequences and Yelp-specific problems from the exclusive lists below.

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

Difficulty Comparison

Easy
SAP
14
Yelp
7
Medium
SAP
21
Yelp
15
Hard
SAP
7
Yelp
5

Top Shared Topics

6 Shared Questions

High-priority problems to practice for both SAP and Yelp.

ProblemDifficulty
Two SumEasy
Longest Common PrefixEasy
Merge IntervalsMedium
Reverse Linked ListEasy
Longest Substring Without Repeating CharactersMedium
Group AnagramsMedium

Unique to SAP (36)

Problems in SAP's list that do not appear at Yelp.

ProblemDifficulty
Movie RatingMedium
Maximum Path Quality of a GraphHard
Count the Number of Infection SequencesHard
Count Increasing QuadrupletsHard
Maximum Students Taking ExamHard
Container With Most WaterMedium
Valid ParenthesesEasy
Number of IslandsMedium
Best Time to Buy and Sell StockEasy
Maximum SubarrayMedium
Longest Palindromic SubstringMedium
Palindrome NumberEasy

Unique to Yelp (21)

Problems in Yelp's list that do not appear at SAP.

ProblemDifficulty
Destination CityEasy
Filter Restaurants by Vegan-Friendly, Price and DistanceMedium
Remove Colored Pieces if Both Neighbors are the Same ColorMedium
Active BusinessesMedium
Decode StringMedium
Course ScheduleMedium
Reverse Words in a StringMedium
Minimum Index Sum of Two ListsEasy
The Skyline ProblemHard
Top K Frequent ElementsMedium
Check If a Word Occurs As a Prefix of Any Word in a SentenceEasy
Letter Case PermutationMedium

Frequently Asked Questions

How many LeetCode questions do SAP and Yelp share?

SAP and Yelp share 6 LeetCode interview questions. 36 problems appear only in SAP's list and 21 appear only in Yelp's list.

What topics overlap most between SAP and Yelp?

The most common shared topics between SAP and Yelp are Array (4 shared questions), Hash Table (3 shared questions), String (3 shared questions), Sorting (2 shared questions), Trie (1 shared questions). Mastering these areas prepares you for both companies.

Which company asks harder LeetCode questions: SAP or Yelp?

SAP has 14 Easy, 21 Medium, and 7 Hard questions. Yelp has 7 Easy, 15 Medium, and 5 Hard questions. Yelp has a higher proportion of Hard problems in its interview set.

How should I prepare if interviewing at both SAP and Yelp?

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

Explore More