Infosys vs SAP Interview Questions

Infosys lists 105 LeetCode interview questions while SAP lists 42. They share 23 problems — 22% of Infosys's bank and 55% of SAP's. Focus on the overlap first, then drill into 82 Infosys-only and 19 SAP-only questions.

Overview

Infosys

105 questions

Easy 32Medium 57Hard 16
SAP

42 questions

Easy 14Medium 21Hard 7

Preparation Strategy

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

Step 2 — Company-specific depth: Add Infosys-specific problems like Maximum Good Subtree Score, Find Building Where Alice and Bob Can Meet, Minimum Reverse Operations and SAP-specific problems from the exclusive lists below.

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

Difficulty Comparison

Easy
Infosys
32
SAP
14
Medium
Infosys
57
SAP
21
Hard
Infosys
16
SAP
7

Top Shared Topics

23 Shared Questions

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

ProblemDifficulty
Two SumEasy
Longest Substring Without Repeating CharactersMedium
Best Time to Buy and Sell StockEasy
Valid ParenthesesEasy
Palindrome NumberEasy
Maximum SubarrayMedium
Trapping Rain WaterHard
Product of Array Except SelfMedium
Longest Common PrefixEasy
Merge IntervalsMedium
Coin ChangeMedium
Group AnagramsMedium
Move ZeroesEasy
Add Two NumbersMedium
Kth Largest Element in an ArrayMedium
Longest Palindromic SubstringMedium
Number of IslandsMedium
Linked List CycleEasy
Valid PalindromeEasy
Minimum Window SubstringHard
Container With Most WaterMedium
Implement Queue using StacksEasy
Search in Rotated Sorted ArrayMedium

Unique to Infosys (82)

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

ProblemDifficulty
Maximum Good Subtree ScoreHard
Find Building Where Alice and Bob Can MeetHard
Minimum Reverse OperationsHard
Count the Number of Ideal ArraysHard
Transform Array by ParityEasy
Eat Pizzas!Medium
Maximum Sum of Subsequence With Non-adjacent ElementsHard
Maximize the Minimum Game ScoreHard
Find the Number of Subsequences With Equal GCDHard
Determine the Minimum Sum of a k-avoiding ArrayMedium
Largest Number After Mutating SubstringMedium
Minimum Total Distance TraveledHard

Unique to SAP (19)

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

ProblemDifficulty
Movie RatingMedium
Maximum Path Quality of a GraphHard
Count the Number of Infection SequencesHard
Count Increasing QuadrupletsHard
Maximum Students Taking ExamHard
Search a 2D MatrixMedium
Reverse Linked ListEasy
Leftmost Column with at Least a OneMedium
LRU CacheMedium
Lowest Common Ancestor of a Binary TreeMedium
Valid Perfect SquareEasy
Maximal SquareMedium

Frequently Asked Questions

How many LeetCode questions do Infosys and SAP share?

Infosys and SAP share 23 LeetCode interview questions. 82 problems appear only in Infosys's list and 19 appear only in SAP's list.

What topics overlap most between Infosys and SAP?

The most common shared topics between Infosys and SAP are Array (13 shared questions), String (7 shared questions), Two Pointers (6 shared questions), Hash Table (5 shared questions), Dynamic Programming (5 shared questions). Mastering these areas prepares you for both companies.

Which company asks harder LeetCode questions: Infosys or SAP?

Infosys has 32 Easy, 57 Medium, and 16 Hard questions. SAP has 14 Easy, 21 Medium, and 7 Hard questions. SAP has a higher proportion of Hard problems in its interview set.

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

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

Explore More