eBay vs Goldman Sachs Interview Questions

eBay lists 62 LeetCode interview questions while Goldman Sachs lists 261. They share 34 problems — 55% of eBay's bank and 13% of Goldman Sachs's. Focus on the overlap first, then drill into 28 eBay-only and 227 Goldman Sachs-only questions.

Read the full eBay vs Goldman Sachs preparation guide →

Overview

eBay

62 questions

Easy 10Medium 39Hard 13
Goldman Sachs

261 questions

Easy 48Medium 165Hard 48

Preparation Strategy

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

Step 2 — Company-specific depth: Add eBay-specific problems like Alternating Digit Sum, Binary Gap, Minimize Maximum Pair Sum in Array and Goldman Sachs-specific problems from the exclusive lists below.

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

Difficulty Comparison

Easy
eBay
10
Goldman Sachs
48
Medium
eBay
39
Goldman Sachs
165
Hard
eBay
13
Goldman Sachs
48

Top Shared Topics

34 Shared Questions

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

ProblemDifficulty
LRU CacheMedium
Remove One Element to Make the Array Strictly IncreasingEasy
Partition Equal Subset SumMedium
Two SumEasy
Spiral MatrixMedium
Top K Frequent ElementsMedium
Open the LockMedium
Number of IslandsMedium
Binary Tree CamerasHard
Word LadderHard
Pow(x, n)Medium
Set Matrix ZeroesMedium
Merge IntervalsMedium
Valid ParenthesesEasy
Longest Palindromic SubstringMedium
Group AnagramsMedium
3SumMedium
Rotting OrangesMedium
Kth Largest Element in an ArrayMedium
Sort ColorsMedium
Word SearchMedium
Maximal SquareMedium
Jump Game IIMedium
Reorganize StringMedium
Generate ParenthesesMedium
Find Peak ElementMedium
Merge k Sorted ListsHard
Best Time to Buy and Sell Stock IIMedium
Top K Frequent WordsMedium
Longest Substring Without Repeating CharactersMedium

Showing top 30 of 34 shared problems.

Unique to eBay (28)

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

ProblemDifficulty
Alternating Digit SumEasy
Binary GapEasy
Minimize Maximum Pair Sum in ArrayMedium
Minimum Window SubsequenceHard
Design SkiplistHard
Subtree of Another TreeEasy
Reverse PairsHard
Valid Palindrome IIEasy
Course ScheduleMedium
Matchsticks to SquareMedium
Time Based Key-Value StoreMedium
Sort Array By ParityEasy

Unique to Goldman Sachs (227)

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

ProblemDifficulty
Trapping Rain WaterHard
Median of Two Sorted ArraysHard
First Unique Character in a StringEasy
Fraction to Recurring DecimalMedium
High FiveEasy
Minimum Path SumMedium
Container With Most WaterMedium
String CompressionMedium
Find the Winner of the Circular GameMedium
Robot Bounded In CircleMedium
Decode WaysMedium
Search in Rotated Sorted ArrayMedium

Frequently Asked Questions

How many LeetCode questions do eBay and Goldman Sachs share?

eBay and Goldman Sachs share 34 LeetCode interview questions. 28 problems appear only in eBay's list and 227 appear only in Goldman Sachs's list.

What topics overlap most between eBay and Goldman Sachs?

The most common shared topics between eBay and Goldman Sachs are Array (20 shared questions), Hash Table (10 shared questions), String (10 shared questions), Sorting (8 shared questions), Dynamic Programming (7 shared questions). Mastering these areas prepares you for both companies.

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

eBay has 10 Easy, 39 Medium, and 13 Hard questions. Goldman Sachs has 48 Easy, 165 Medium, and 48 Hard questions. eBay has a higher proportion of Hard problems in its interview set.

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

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

Explore More