Goldman Sachs vs Oracle Interview Questions

Goldman Sachs lists 261 LeetCode interview questions while Oracle lists 314. They share 127 problems — 49% of Goldman Sachs's bank and 40% of Oracle's. Focus on the overlap first, then drill into 134 Goldman Sachs-only and 187 Oracle-only questions.

Read the full Goldman Sachs vs Oracle preparation guide →

Overview

Goldman Sachs

261 questions

Easy 48Medium 165Hard 48
Oracle

314 questions

Easy 61Medium 194Hard 59

Preparation Strategy

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

Step 2 — Company-specific depth: Add Goldman Sachs-specific problems like High Five, Minimum Path Sum, Robot Bounded In Circle and Oracle-specific problems from the exclusive lists below.

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

Difficulty Comparison

Easy
Goldman Sachs
48
Oracle
61
Medium
Goldman Sachs
165
Oracle
194
Hard
Goldman Sachs
48
Oracle
59

Top Shared Topics

127 Shared Questions

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

ProblemDifficulty
Trapping Rain WaterHard
Median of Two Sorted ArraysHard
First Unique Character in a StringEasy
Fraction to Recurring DecimalMedium
LRU CacheMedium
Container With Most WaterMedium
Longest Substring Without Repeating CharactersMedium
String CompressionMedium
Find the Winner of the Circular GameMedium
Merge IntervalsMedium
Group AnagramsMedium
Decode WaysMedium
Number of IslandsMedium
Search in Rotated Sorted ArrayMedium
Best Time to Buy and Sell StockEasy
Find Minimum in Rotated Sorted ArrayMedium
Two SumEasy
Pairs of Songs With Total Durations Divisible by 60Medium
Design HashMapEasy
Maximum SubarrayMedium
Minimum Cost Homecoming of a Robot in a GridMedium
Top K Frequent ElementsMedium
Kth Largest Element in an ArrayMedium
Remove All Adjacent Duplicates in String IIMedium
Product of Array Except SelfMedium
Sliding Window MaximumHard
Palindromic SubstringsMedium
Backspace String CompareEasy
Coin ChangeMedium
Jump GameMedium

Showing top 30 of 127 shared problems.

Unique to Goldman Sachs (134)

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

ProblemDifficulty
High FiveEasy
Minimum Path SumMedium
Robot Bounded In CircleMedium
Better Compression of StringMedium
Knight Probability in ChessboardMedium
Best Time to Buy and Sell Stock IIMedium
Robot Return to OriginEasy
Valid Arrangement of PairsHard
Minimum Moves to Capture The QueenMedium
Corporate Flight BookingsMedium
Minimum Length of String After Deleting Similar EndsMedium
Find the Minimum Amount of Time to Brew PotionsMedium

Unique to Oracle (187)

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

ProblemDifficulty
Meeting Rooms IIMedium
Minimum One Bit Operations to Make Integers ZeroHard
Min StackMedium
Minimum Absolute DifferenceEasy
Find Valid Pair of Adjacent Digits in StringEasy
Count Pairs Of Similar StringsEasy
Maximize Value of Function in a Ball Passing GameHard
Binary Tree Right Side ViewMedium
Design Authentication ManagerMedium
All Ancestors of a Node in a Directed Acyclic GraphMedium
Lucky Numbers in a MatrixEasy
Count Ways To Build Good StringsMedium

Frequently Asked Questions

How many LeetCode questions do Goldman Sachs and Oracle share?

Goldman Sachs and Oracle share 127 LeetCode interview questions. 134 problems appear only in Goldman Sachs's list and 187 appear only in Oracle's list.

What topics overlap most between Goldman Sachs and Oracle?

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

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

Goldman Sachs has 48 Easy, 165 Medium, and 48 Hard questions. Oracle has 61 Easy, 194 Medium, and 59 Hard questions. Oracle has a higher proportion of Hard problems in its interview set.

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

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

Explore More