grindmapcompany-wise LeetCode
All companies

SAP LeetCode Interview Questions

42 questions all-time · 14 easy · 21 medium · 7 hard

SAP has asked 42 distinct LeetCode questions across all recorded interviews: 14 easy, 21 medium and 7 hard. The questions reported most often are Two Sum, Maximum Path Quality of a Graph and Count the Number of Infection Sequences. 1 of them was reported in interviews from the Last 3 Months window. Every question links straight to LeetCode, and the list can be filtered by difficulty and topic or sorted by how often the question comes up.

# Problem Difficulty Frequency Acceptance
1Two Sum
Easy
100
0.6%
2Maximum Path Quality of a Graph
Hard
92
0.6%
3Count the Number of Infection Sequences
Hard
92
0.4%
4Maximum Students Taking Exam
Hard
92
0.5%
5Movie Rating
Medium
92
0.4%
6Count Increasing Quadruplets
Hard
92
0.3%
7Container With Most Water
Medium
86
0.6%
8Longest Common Prefix
Easy
79
0.5%
9Valid Parentheses
Easy
79
0.4%
10Best Time to Buy and Sell Stock
Easy
75
0.6%
11Number of Islands
Medium
75
0.6%
12Merge Intervals
Medium
75
0.5%
13Maximum Subarray
Medium
69
0.5%
14Longest Palindromic Substring
Medium
69
0.4%
15Palindrome Number
Easy
69
0.6%
16Reverse Linked List
Easy
62
0.8%
17Kth Largest Element in an Array
Medium
62
0.7%
18Valid Palindrome
Easy
62
0.5%
19LRU Cache
Medium
62
0.5%
20Leftmost Column with at Least a One
Medium
62
0.6%
21Coin Change
Medium
62
0.5%
22Group Anagrams
Medium
62
0.7%
23Move Zeroes
Easy
62
0.6%
24Longest Substring Without Repeating Characters
Medium
62
0.4%
25Linked List Cycle
Easy
62
0.5%
26Search a 2D Matrix
Medium
62
0.5%
27Maximal Square
Medium
53
0.5%
28Valid Perfect Square
Easy
53
0.5%
29Trapping Rain Water
Hard
53
0.7%
30Binary Search Tree to Greater Sum Tree
Medium
53
0.9%
31Candy
Hard
53
0.5%
32Product of Array Except Self
Medium
53
0.7%
33Same Tree
Easy
53
0.7%
34Search in Rotated Sorted Array
Medium
53
0.5%
35Count Primes
Medium
53
0.4%
36Add Two Numbers
Medium
53
0.5%
37Implement Queue using Stacks
Easy
53
0.7%
38Lowest Common Ancestor of a Binary Tree
Medium
53
0.7%
39Palindrome Linked List
Easy
53
0.6%
40Ransom Note
Easy
53
0.7%
41Daily Temperatures
Medium
53
0.7%
42Minimum Window Substring
Hard
53
0.5%

Where this data comes from

These questions come from the public leetcode-company-wise-problems data set, which collects interview reports from candidates. They are community-reported rather than published by SAP, so treat the list as a strong signal of what gets asked, not an official or exhaustive syllabus. Last refreshed .

How to read this list

The tabs at the top split the questions by how recently people said they were asked in interviews. "Last 30 Days" is the past month, "Last 3 Months" is the past quarter, and so on. "All Time" is every question on record for this company.

Frequency is a score from 0 to 100 for how often a question showed up in that time window. A higher number means it came up more often, so the list starts with the most common questions first. It is a relative popularity signal within SAP's questions, not a probability that you will be asked it. Acceptance is LeetCode's own share of submissions that pass for that problem, across all users, not something specific to SAP. Click any question to open it on LeetCode.

Similar companies