Goldman Sachs vs Infosys Interview Questions

Goldman Sachs lists 261 LeetCode interview questions while Infosys lists 105. They share 53 problems — 20% of Goldman Sachs's bank and 50% of Infosys's. Focus on the overlap first, then drill into 208 Goldman Sachs-only and 52 Infosys-only questions.

Read the full Goldman Sachs vs Infosys preparation guide →

Overview

Goldman Sachs

261 questions

Easy 48Medium 165Hard 48
Infosys

105 questions

Easy 32Medium 57Hard 16

Preparation Strategy

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

Step 2 — Company-specific depth: Add Goldman Sachs-specific problems like First Unique Character in a String, Fraction to Recurring Decimal, High Five and Infosys-specific problems from the exclusive lists below.

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

Difficulty Comparison

Easy
Goldman Sachs
48
Infosys
32
Medium
Goldman Sachs
165
Infosys
57
Hard
Goldman Sachs
48
Infosys
16

Top Shared Topics

53 Shared Questions

High-priority problems to practice for both Goldman Sachs and Infosys.

ProblemDifficulty
Trapping Rain WaterHard
Median of Two Sorted ArraysHard
Container With Most WaterMedium
Longest Substring Without Repeating CharactersMedium
Merge IntervalsMedium
Group AnagramsMedium
Number of IslandsMedium
Search in Rotated Sorted ArrayMedium
Best Time to Buy and Sell StockEasy
Find Minimum in Rotated Sorted ArrayMedium
Best Time to Buy and Sell Stock IIMedium
Two SumEasy
Maximum SubarrayMedium
Kth Largest Element in an ArrayMedium
Product of Array Except SelfMedium
Coin ChangeMedium
Jump GameMedium
3SumMedium
Sqrt(x)Easy
Subarray Sum Equals KMedium
Longest Palindromic SubstringMedium
String to Integer (atoi)Medium
Valid ParenthesesEasy
House RobberMedium
Generate ParenthesesMedium
Move ZeroesEasy
Roman to IntegerEasy
Longest Consecutive SequenceMedium
Spiral MatrixMedium
Pow(x, n)Medium

Showing top 30 of 53 shared problems.

Unique to Goldman Sachs (208)

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

ProblemDifficulty
First Unique Character in a StringEasy
Fraction to Recurring DecimalMedium
High FiveEasy
Minimum Path SumMedium
LRU CacheMedium
String CompressionMedium
Find the Winner of the Circular GameMedium
Robot Bounded In CircleMedium
Decode WaysMedium
Better Compression of StringMedium
Knight Probability in ChessboardMedium
Pairs of Songs With Total Durations Divisible by 60Medium

Unique to Infosys (52)

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

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

Frequently Asked Questions

How many LeetCode questions do Goldman Sachs and Infosys share?

Goldman Sachs and Infosys share 53 LeetCode interview questions. 208 problems appear only in Goldman Sachs's list and 52 appear only in Infosys's list.

What topics overlap most between Goldman Sachs and Infosys?

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

Which company asks harder LeetCode questions: Goldman Sachs or Infosys?

Goldman Sachs has 48 Easy, 165 Medium, and 48 Hard questions. Infosys has 32 Easy, 57 Medium, and 16 Hard questions. Goldman Sachs has a higher proportion of Hard problems in its interview set.

How should I prepare if interviewing at both Goldman Sachs and Infosys?

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

Explore More