Goldman Sachs vs Visa Interview Questions

Goldman Sachs lists 261 LeetCode interview questions while Visa lists 146. They share 60 problems — 23% of Goldman Sachs's bank and 41% of Visa's. Focus on the overlap first, then drill into 201 Goldman Sachs-only and 86 Visa-only questions.

Read the full Goldman Sachs vs Visa preparation guide →

Overview

Goldman Sachs

261 questions

Easy 48Medium 165Hard 48
Visa

146 questions

Easy 32Medium 92Hard 22

Preparation Strategy

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

Step 2 — Company-specific depth: Add Goldman Sachs-specific problems like Fraction to Recurring Decimal, High Five, Minimum Path Sum and Visa-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
Visa
32
Medium
Goldman Sachs
165
Visa
92
Hard
Goldman Sachs
48
Visa
22

Top Shared Topics

60 Shared Questions

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

ProblemDifficulty
Trapping Rain WaterHard
Median of Two Sorted ArraysHard
First Unique Character in a StringEasy
LRU CacheMedium
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
Best Time to Buy and Sell Stock IIMedium
Two SumEasy
Maximum SubarrayMedium
Top K Frequent ElementsMedium
Kth Largest Element in an ArrayMedium
Count Palindromic SubsequencesHard
Product of Array Except SelfMedium
Sliding Window MaximumHard
Number of Perfect PairsMedium
3SumMedium
Subarray Sum Equals KMedium
Longest Palindromic SubstringMedium
Daily TemperaturesMedium
Unique PathsMedium
Valid ParenthesesEasy
Capacity To Ship Packages Within D DaysMedium
Find Peak ElementMedium
Find Median from Data StreamHard
Reverse Linked ListEasy

Showing top 30 of 60 shared problems.

Unique to Goldman Sachs (201)

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

ProblemDifficulty
Fraction to Recurring DecimalMedium
High FiveEasy
Minimum Path SumMedium
String CompressionMedium
Find the Winner of the Circular GameMedium
Robot Bounded In CircleMedium
Decode WaysMedium
Find Minimum in Rotated Sorted ArrayMedium
Better Compression of StringMedium
Knight Probability in ChessboardMedium
Pairs of Songs With Total Durations Divisible by 60Medium
Robot Return to OriginEasy

Unique to Visa (86)

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

ProblemDifficulty
Length of Longest V-Shaped Diagonal SegmentHard
Rotating the BoxMedium
Split the ArrayEasy
Minimum Operations to Write the Letter Y on a GridMedium
Find the Length of the Longest Common PrefixMedium
Block Placement QueriesHard
Create Target Array in the Given OrderEasy
Number of Black BlocksMedium
Simplify PathMedium
Number of Adjacent Elements With the Same ColorMedium
Earliest Possible Day of Full BloomHard
Odd String DifferenceEasy

Frequently Asked Questions

How many LeetCode questions do Goldman Sachs and Visa share?

Goldman Sachs and Visa share 60 LeetCode interview questions. 201 problems appear only in Goldman Sachs's list and 86 appear only in Visa's list.

What topics overlap most between Goldman Sachs and Visa?

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

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

Goldman Sachs has 48 Easy, 165 Medium, and 48 Hard questions. Visa has 32 Easy, 92 Medium, and 22 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 Visa?

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

Explore More